summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-19 11:40:43 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-10-19 11:40:43 +0000
commitec23a0d460ce389d91e3e8d71d786cf0599ab01e (patch)
tree62f7e1bb48791ea4a53a2b2cff483c29785db9a1 /src
parentChange oprions of handles to a enum widget (diff)
downloadinkscape-ec23a0d460ce389d91e3e8d71d786cf0599ab01e.tar.gz
inkscape-ec23a0d460ce389d91e3e8d71d786cf0599ab01e.zip
Fix first handle position on along nodes mode
(bzr r14422)
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);
}