From 8568c01557f41365b1554ef1ecc996ef479a2284 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 May 2006 10:25:19 +0000 Subject: Fix silly bug with snapping node edits. (bzr r792) --- src/nodepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 18da75111..a5fd2fab8 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -933,7 +933,7 @@ static void sp_nodepath_selected_nodes_move(Inkscape::NodePath::Path *nodepath, Inkscape::SnappedPoint const s = m.freeSnap(Inkscape::Snapper::SNAP_POINT, n->pos + delta, NULL); if (s.getDistance() < best) { best = s.getDistance(); - best_pt = s.getPoint(); + best_pt = s.getPoint() - n->pos; } } } -- cgit v1.2.3