diff options
| author | Jabiertxof <jtx@jtx> | 2017-04-14 22:20:13 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-04-14 22:20:13 +0000 |
| commit | 3103b99b4cf6c1048c89f75e280761d8cd0ca1c2 (patch) | |
| tree | a79bdf40cb476839681f10c61f51a3c4d860fcbc /src/live_effects/lpe-test-doEffect-stack.cpp | |
| parent | Ellipses in Inkscape are defined by the center and the radius, but the (diff) | |
| download | inkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.tar.gz inkscape-3103b99b4cf6c1048c89f75e280761d8cd0ca1c2.zip | |
Allow set and reset default values of LPE parameters
(bzr r15620.1.1)
Diffstat (limited to 'src/live_effects/lpe-test-doEffect-stack.cpp')
| -rw-r--r-- | src/live_effects/lpe-test-doEffect-stack.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index 324893706..c484c88a2 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -21,12 +21,12 @@ LPEdoEffectStackTest::LPEdoEffectStackTest(LivePathEffectObject *lpeobject) : point(_("Point param:"), "tooltip of point parameter", "point_param", &wr, this), path(_("Path param:"), "tooltip of path parameter", "path_param", &wr, this,"M 0,100 100,0") { - registerParameter( dynamic_cast<Parameter *>(&step) ); - registerParameter( dynamic_cast<Parameter *>(&point) ); - registerParameter( dynamic_cast<Parameter *>(&path) ); + registerParameter(&step); + registerParameter(&point); + registerParameter(&path); point.set_oncanvas_looks(SP_KNOT_SHAPE_SQUARE, SP_KNOT_MODE_XOR, 0x00ff0000); - point.param_setValue(point,true); + point.param_setValue(point); } LPEdoEffectStackTest::~LPEdoEffectStackTest() |
