summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-05-19 17:02:06 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-05-19 17:02:06 +0000
commit9b424870613f4b345cf64bdfcb03889077a0597a (patch)
tree9b5251a8c8cff0c47b82bd7f2c0aafd22a2b85b0 /src/live_effects/effect.cpp
parentApplying several of Inductiveload's enhancements and fixes to his extensions.... (diff)
downloadinkscape-9b424870613f4b345cf64bdfcb03889077a0597a.tar.gz
inkscape-9b424870613f4b345cf64bdfcb03889077a0597a.zip
Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied to the object)
(bzr r5711)
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 2e33098d2..906955575 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -144,9 +144,11 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
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),
lpeobj(lpeobject),
concatenate_before_pwd2(false)
{
+ registerParameter( dynamic_cast<Parameter *>(&is_visible) );
}
Effect::~Effect()