From d2eab659b08ba4a28410ed2527ba0431832776b3 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 18 Aug 2008 00:33:13 +0000 Subject: Remove done_pathparam_set and friends because it currently isn't used any more anyway; reimplement its intended functionality by using isReady() (bzr r6643) --- src/live_effects/effect.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/live_effects/effect.cpp') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 1308a1860..7d01f63dd 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -251,11 +251,11 @@ Effect::createAndApply(EffectType type, SPDocument *doc, SPItem *item) Effect::Effect(LivePathEffectObject *lpeobject) : oncanvasedit_it(0), is_visible(_("Is visible?"), _("If unchecked, the effect remains applied to the object but is temporarily disabled on canvas"), "is_visible", &wr, this, true), - done_pathparam_set(false), show_orig_path(false), lpeobj(lpeobject), concatenate_before_pwd2(false), - provides_own_flash_paths(true) // is automatically set to false if providesOwnFlashPaths() is not overridden + provides_own_flash_paths(true), // is automatically set to false if providesOwnFlashPaths() is not overridden + is_ready(false) // is automatically set to false if providesOwnFlashPaths() is not overridden { registerParameter( dynamic_cast(&is_visible) ); } @@ -332,11 +332,11 @@ Effect::writeParamsToSVG() { /** * If the effect expects a path parameter (specified by a number of mouse clicks) before it is * applied, this is the method that processes the resulting path. Override it to customize it for - * your LPE. But don't forget to call the parent method so that done_pathparam_set is set to true! + * your LPE. But don't forget to call the parent method so that is_ready is set to true! */ void Effect::acceptParamPath (SPPath */*param_path*/) { - done_pathparam_set = true; + setReady(); } /* -- cgit v1.2.3