summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-05-19 22:11:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-05-19 22:11:42 +0000
commit2e2860676eb00a988435464e0a645e3ff450e77f (patch)
treeeffe2ca3b9669c293d0a5e8e4e13c0bb93a4085a
parentGTK3: Another widget named. (diff)
downloadinkscape-2e2860676eb00a988435464e0a645e3ff450e77f.tar.gz
inkscape-2e2860676eb00a988435464e0a645e3ff450e77f.zip
Fix a bug in node editor in BSpline mode, wrong power when moving nodes
(bzr r14903)
-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 3b25439f3..de071dad3 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1292,7 +1292,7 @@ double PathManipulator::_bsplineHandlePosition(Handle *h, bool check_other)
line_inside_nodes->moveto(n->position());
line_inside_nodes->lineto(next_node->position());
if(!are_near(h->position(), n->position())){
- pos = Geom::nearest_time(Geom::Point(h->position()[X] - HANDLE_CUBIC_GAP, h->position()[Y] + HANDLE_CUBIC_GAP), *line_inside_nodes->first_segment());
+ pos = Geom::nearest_time(Geom::Point(h->position()[X] - HANDLE_CUBIC_GAP, h->position()[Y] - HANDLE_CUBIC_GAP), *line_inside_nodes->first_segment());
}
}
if (pos == NO_POWER && check_other){