From 25e752435784f0322d77c64c16769c01b54f35b1 Mon Sep 17 00:00:00 2001 From: JF Barraud Date: Tue, 23 Sep 2008 22:06:28 +0000 Subject: add a path parameter to doeffect_stack_test to test a bug (bzr r6875) --- src/live_effects/lpe-test-doEffect-stack.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/live_effects/lpe-test-doEffect-stack.cpp') diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index f858e0f4b..2bcc7fb0d 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -20,10 +20,12 @@ namespace LivePathEffect { LPEdoEffectStackTest::LPEdoEffectStackTest(LivePathEffectObject *lpeobject) : Effect(lpeobject), step(_("Stack step"), ("How deep we should go into the stack"), "step", &wr, this), - point(_("point param"), "tooltip of point parameter", "point_param", &wr, this) + point(_("point param"), "tooltip of point parameter", "point_param", &wr, this,Geom::Point(0,0)), + path(_("path param"), "tooltip of path parameter", "path_param", &wr, this,"M 0,100 100,0") { registerParameter( dynamic_cast(&step) ); registerParameter( dynamic_cast(&point) ); + registerParameter( dynamic_cast(&path) ); point.set_oncanvas_looks(SP_KNOT_SHAPE_SQUARE, SP_KNOT_MODE_XOR, 0x00ff0000); } -- cgit v1.2.3