diff options
| author | Carl Hetherington <cth@carlh.net> | 2006-05-09 10:25:19 +0000 |
|---|---|---|
| committer | cth103 <cth103@users.sourceforge.net> | 2006-05-09 10:25:19 +0000 |
| commit | 8568c01557f41365b1554ef1ecc996ef479a2284 (patch) | |
| tree | 7da17c70195d78001938162a5d0877062a8a0c49 /src/nodepath.cpp | |
| parent | always make local copy of path data so we have control of memory policy (diff) | |
| download | inkscape-8568c01557f41365b1554ef1ecc996ef479a2284.tar.gz inkscape-8568c01557f41365b1554ef1ecc996ef479a2284.zip | |
Fix silly bug with snapping node edits.
(bzr r792)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |
