diff options
| author | Jabiertxof <jtx@jtx> | 2017-05-28 10:46:10 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-05-28 10:46:10 +0000 |
| commit | 59143c117378ec4a866f34b1ba2e2930bfb17593 (patch) | |
| tree | 58c2bedddaa1f166ab52092ac951566413ac9c21 /src/live_effects/effect.cpp | |
| parent | Allow doOnRemove in all LPE (diff) | |
| download | inkscape-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.cpp | 2 |
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*/) |
