summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/pencil-toolbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/pencil-toolbar.cpp b/src/widgets/pencil-toolbar.cpp
index fb9afb8da..d2939c720 100644
--- a/src/widgets/pencil-toolbar.cpp
+++ b/src/widgets/pencil-toolbar.cpp
@@ -320,7 +320,7 @@ static void sp_flatten_spiro_bspline(GtkWidget * /*widget*/, GObject *obj)
{
SPShape * shape = dynamic_cast<SPShape *>(lpeitem);
if(shape){
- SPCurve * c = shape->getCurveBeforeLPE();
+ SPCurve * c = shape->getCurveForEdit();
lpe->doEffect(c);
lpeitem->setCurrentPathEffect(*i);
if (lpelist.size() > 1){
@@ -328,7 +328,7 @@ static void sp_flatten_spiro_bspline(GtkWidget * /*widget*/, GObject *obj)
shape->setCurveBeforeLPE(c);
} else {
lpeitem->removeCurrentPathEffect(false);
- shape->setCurve(c,0);
+ shape->setCurve(c, false);
}
break;
}
@@ -361,7 +361,7 @@ static void sp_simplify_flatten(GtkWidget * /*widget*/, GObject *obj)
if (dynamic_cast<Inkscape::LivePathEffect::LPESimplify *>(lpe)) {
SPShape * shape = dynamic_cast<SPShape *>(lpeitem);
if(shape){
- SPCurve * c = shape->getCurveBeforeLPE();
+ SPCurve * c = shape->getCurveForEdit();
lpe->doEffect(c);
lpeitem->setCurrentPathEffect(*i);
if (lpelist.size() > 1){
@@ -369,7 +369,7 @@ static void sp_simplify_flatten(GtkWidget * /*widget*/, GObject *obj)
shape->setCurveBeforeLPE(c);
} else {
lpeitem->removeCurrentPathEffect(false);
- shape->setCurve(c,0);
+ shape->setCurve(c, false);
}
break;
}