summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 016c69e)
raw | patch | inline | side by side (parent: 016c69e)
author | cth103 <cth103@users.sourceforge.net> | |
Tue, 9 May 2006 10:25:19 +0000 (10:25 +0000) | ||
committer | cth103 <cth103@users.sourceforge.net> | |
Tue, 9 May 2006 10:25:19 +0000 (10:25 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 18da75111528243c781163382aa9bcdc0a31bcdd..a5fd2fab8af6f5530d6b9ec343b30f38f1a79a93 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
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;
}
}
}