From eab7059d184068b29a64640fe031b7df8b5fa049 Mon Sep 17 00:00:00 2001 From: dvlierop2 Date: Sat, 14 Apr 2007 18:42:30 +0000 Subject: [PATCH] Don't snap nodes to their parent path --- src/nodepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nodepath.cpp b/src/nodepath.cpp index a73661447..32e302e33 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -999,7 +999,7 @@ static void sp_nodepath_selected_nodes_move(Inkscape::NodePath::Path *nodepath, 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; -- 2.30.2