summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-09-16 15:09:19 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-09-16 15:09:19 +0000
commit7ec3afaf68ebfedabd4c4addd74812ff8f055955 (patch)
treebbbd557af753ce2b03d4b2560a33f484f888af42 /src/ui/tool/path-manipulator.cpp
parentfixing cusp node bug on bspline -problems moving nodes because tiny handles (diff)
downloadinkscape-7ec3afaf68ebfedabd4c4addd74812ff8f055955.tar.gz
inkscape-7ec3afaf68ebfedabd4c4addd74812ff8f055955.zip
Fix bug moving nodes in bspline mode
(bzr r13341.1.210)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index f30ecb1d1..edb74cb40 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1228,7 +1228,7 @@ double PathManipulator::BSplineHandlePosition(Handle *h, Handle *h2){
lineInsideNodes->moveto(n->position());
lineInsideNodes->lineto(nextNode->position());
if(!are_near(h->position(), n->position())){
- pos = Geom::nearest_point(Geom::Point(h->position()[X] ,h->position()[Y] - handleCubicGap),*lineInsideNodes->first_segment());
+ pos = Geom::nearest_point(Geom::Point(h->position()[X] - handleCubicGap, h->position()[Y] - handleCubicGap), *lineInsideNodes->first_segment());
}
}
if (pos == 0.0000 && !h2){