diff options
| author | Jabiertxof <jtx@jtx> | 2017-04-28 20:05:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-04-28 20:05:42 +0000 |
| commit | 9b3948644c69d361173f4fae82b46ef43d5ea923 (patch) | |
| tree | 5f6d8dc007370e50c5d809f6461302581e17ac5f /src/live_effects/lpe-test-doEffect-stack.cpp | |
| parent | Update to trunk (diff) | |
| parent | Code formating (diff) | |
| download | inkscape-9b3948644c69d361173f4fae82b46ef43d5ea923.tar.gz inkscape-9b3948644c69d361173f4fae82b46ef43d5ea923.zip | |
Update to trunk
(bzr r15620.1.11)
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() |
