summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-05-28 10:46:10 +0000
committerJabiertxof <jtx@jtx>2017-05-28 10:46:10 +0000
commit59143c117378ec4a866f34b1ba2e2930bfb17593 (patch)
tree58c2bedddaa1f166ab52092ac951566413ac9c21 /src/live_effects/effect.cpp
parentAllow doOnRemove in all LPE (diff)
downloadinkscape-59143c117378ec4a866f34b1ba2e2930bfb17593.tar.gz
inkscape-59143c117378ec4a866f34b1ba2e2930bfb17593.zip
Add a new value to LPE 'is_load' to know the lpe is just load, no previous values set yet to not LPE stored values when loading a previous file
(bzr r15711)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 23a4c9f3d..3a628b243 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -356,6 +356,7 @@ Effect::Effect(LivePathEffectObject *lpeobject)
is_visible(_("Is visible?"), _("If unchecked, the effect remains applied to the object but is temporarily disabled on canvas"), "is_visible", &wr, this, true),
show_orig_path(false),
keep_paths(false),
+ is_load(true),
lpeobj(lpeobject),
concatenate_before_pwd2(false),
sp_lpe_item(NULL),
@@ -511,6 +512,7 @@ Effect::doBeforeEffect (SPLPEItem const*/*lpeitem*/)
void Effect::doAfterEffect (SPLPEItem const* /*lpeitem*/)
{
+ is_load = false;
}
void Effect::doOnRemove (SPLPEItem const* /*lpeitem*/)