summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2e15161)
raw | patch | inline | side by side (parent: 2e15161)
author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Sat, 14 Apr 2007 18:42:30 +0000 (18:42 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Sat, 14 Apr 2007 18:42:30 +0000 (18:42 +0000) |
src/nodepath.cpp | patch | blob | history |
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index a7366144738b58fab009e769aad3e824cc16efc9..32e302e330ad1fd7b3b7321f84f49c9f6f4ca5ca 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
for (GList *l = nodepath->selected; l != NULL; l = l->next) {
Inkscape::NodePath::Node *n = (Inkscape::NodePath::Node *) l->data;
- Inkscape::SnappedPoint const s = m.freeSnap(Inkscape::Snapper::SNAP_POINT, n->pos + delta, NULL);
+ Inkscape::SnappedPoint const s = m.freeSnap(Inkscape::Snapper::SNAP_POINT, n->pos + delta, n->subpath->nodepath->path);
if (s.getDistance() < best) {
best = s.getDistance();
best_pt = s.getPoint() - n->pos;