summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2006-05-03 11:01:57 +0000
committercth103 <cth103@users.sourceforge.net>2006-05-03 11:01:57 +0000
commit672c5870a6c912439bc0fc2655ed4368b2007082 (patch)
tree6435ef7371b017bb318cab12ef82864086826cd7 /src/nodepath.cpp
parentsmall update for 1480247 fix (cleaned up the redundant code) (diff)
downloadinkscape-672c5870a6c912439bc0fc2655ed4368b2007082.tar.gz
inkscape-672c5870a6c912439bc0fc2655ed4368b2007082.zip
Give SPNamedView a SnapManager instance and use it for all management of snapping settings.
(bzr r701)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 081638f1d..64611f12c 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -2839,7 +2839,7 @@ static gboolean node_handle_request(SPKnot *knot, NR::Point *p, guint state, gpo
NRPathcode const othercode = sp_node_path_code_from_side(n, opposite);
- SnapManager const m(n->subpath->nodepath->desktop->namedview);
+ SnapManager const &m = n->subpath->nodepath->desktop->namedview->snap_manager;
if (opposite->other && (n->type != Inkscape::NodePath::NODE_CUSP) && (othercode == NR_LINETO)) {
/* We are smooth node adjacent with line */