summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perspective_path.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-04-14 22:20:13 +0000
committerJabiertxof <jtx@jtx>2017-04-14 22:20:13 +0000
commit3103b99b4cf6c1048c89f75e280761d8cd0ca1c2 (patch)
treea79bdf40cb476839681f10c61f51a3c4d860fcbc /src/live_effects/lpe-perspective_path.cpp
parentEllipses in Inkscape are defined by the center and the radius, but the (diff)
downloadinkscape-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-perspective_path.cpp')
-rw-r--r--src/live_effects/lpe-perspective_path.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp
index b83fb67d7..435c91c2d 100644
--- a/src/live_effects/lpe-perspective_path.cpp
+++ b/src/live_effects/lpe-perspective_path.cpp
@@ -51,11 +51,11 @@ LPEPerspectivePath::LPEPerspectivePath(LivePathEffectObject *lpeobject) :
uses_plane_xy(_("Uses XY plane?"), _("If true, put the path on the left side of an imaginary box, otherwise on the right side"), "uses_plane_xy", &wr, this, true)
{
// register all your parameters here, so Inkscape knows which parameters this effect has:
- registerParameter( dynamic_cast<Parameter *>(&scalex) );
- registerParameter( dynamic_cast<Parameter *>(&scaley) );
- registerParameter( dynamic_cast<Parameter *>(&offsetx) );
- registerParameter( dynamic_cast<Parameter *>(&offsety) );
- registerParameter( dynamic_cast<Parameter *>(&uses_plane_xy) );
+ registerParameter( &scalex);
+ registerParameter( &scaley);
+ registerParameter( &offsetx);
+ registerParameter( &offsety);
+ registerParameter( &uses_plane_xy);
concatenate_before_pwd2 = true; // don't split the path into its subpaths
_provides_knotholder_entities = true;