From: cth103 Date: Tue, 9 May 2006 10:25:19 +0000 (+0000) Subject: Fix silly bug with snapping node edits. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cd03faccc911cde19d63244640ccdb290ac1a21b;p=inkscape.git Fix silly bug with snapping node edits. --- 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; } } }