summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-08-11 06:43:24 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-08-11 06:43:24 +0000
commit19117c36082531a00df461260f917d1207edde1f (patch)
tree4670bf8aef55b561c790e6498e8ad88592a83d75 /src/ui/tool/node.cpp
parentImplement constrained snapping to nodes (diff)
downloadinkscape-19117c36082531a00df461260f917d1207edde1f.tar.gz
inkscape-19117c36082531a00df461260f917d1207edde1f.zip
Clear pointers in the snapmanager if they're no longer needed.
(bzr r9697)
Diffstat (limited to 'src/ui/tool/node.cpp')
-rw-r--r--src/ui/tool/node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index a8582ccc5..4c8cc74d8 100644
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
@@ -274,8 +274,10 @@ void Handle::dragged(Geom::Point &new_pos, GdkEventMotion *event)
} else {
sm.freeSnapReturnByRef(new_pos, SNAPSOURCE_NODE_HANDLE);
}
+ sm.unSetup();
}
+
// with Shift, if the node is cusp, rotate the other handle as well
if (_parent->type() == NODE_CUSP && !_drag_out) {
if (held_shift(*event)) {