From 7ec3afaf68ebfedabd4c4addd74812ff8f055955 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Tue, 16 Sep 2014 17:09:19 +0200 Subject: Fix bug moving nodes in bspline mode (bzr r13341.1.210) --- src/ui/tool/path-manipulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/tool/path-manipulator.cpp') 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){ -- cgit v1.2.3