Code

Clear pointers in the snapmanager if they're no longer needed.
[inkscape.git] / src / ui / tool / node.cpp
index a8582ccc5d551017508f3f4e7cf49b5fd0f022ef..4c8cc74d8e0320e7a9ce297271f4bb6d1d633ef5 100644 (file)
@@ -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)) {