summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-roughen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-roughen.cpp b/src/live_effects/lpe-roughen.cpp
index d40d549a7..cea91509e 100644
--- a/src/live_effects/lpe-roughen.cpp
+++ b/src/live_effects/lpe-roughen.cpp
@@ -290,7 +290,7 @@ void LPERoughen::doEffect(SPCurve *curve)
Geom::CubicBezier const *cubic = dynamic_cast<Geom::CubicBezier const *>(nCurve->last_segment());
if(cubic){
out->moveto((*cubic)[0]);
- out->curveto((*cubic)[1], (*cubic)[2] - last_move, (*cubic)[3]);
+ out->curveto((*cubic)[1], (*cubic)[2] - ((*cubic)[3] - nCurve->first_segment()->initialPoint()) , (*cubic)[3]);
nCurve->backspace();
nCurve->append_continuous(out, 0.001);
}