From 9b424870613f4b345cf64bdfcb03889077a0597a Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 19 May 2008 17:02:06 +0000 Subject: Add checkbox for LPEs to temporarily disable them on canvas (but keep them applied to the object) (bzr r5711) --- src/live_effects/effect.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/live_effects/effect.cpp') 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(&is_visible) ); } Effect::~Effect() -- cgit v1.2.3