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-perp_bisector.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-perp_bisector.cpp')
| -rw-r--r-- | src/live_effects/lpe-perp_bisector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-perp_bisector.cpp b/src/live_effects/lpe-perp_bisector.cpp index bce22250a..dab169cfe 100644 --- a/src/live_effects/lpe-perp_bisector.cpp +++ b/src/live_effects/lpe-perp_bisector.cpp @@ -99,8 +99,8 @@ LPEPerpBisector::LPEPerpBisector(LivePathEffectObject *lpeobject) : _provides_knotholder_entities = true; // register all your parameters here, so Inkscape knows which parameters this effect has: - registerParameter( dynamic_cast<Parameter *>(&length_left) ); - registerParameter( dynamic_cast<Parameter *>(&length_right) ); + registerParameter(&length_left); + registerParameter(&length_right); } LPEPerpBisector::~LPEPerpBisector() |
