Code

Add a centralized check (i.e. in the snapper mechanism) whether we've snapped or...
[inkscape.git] / src / connector-context.cpp
index 3c1669fa6e4e1a3b0a3d9044af67da4148fb6e1c..e33b11e640fde32fdcb664c743835c19e5a16bf4 100644 (file)
@@ -532,7 +532,7 @@ connector_handle_button_press(SPConnectorContext *const cc, GdkEventButton const
                         // as there's no other points to go off.
                         SnapManager &m = cc->desktop->namedview->snap_manager;
                         m.setup(cc->desktop);
-                        p = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p).getPoint();
+                        m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p);
                     }
                     spcc_connector_set_initial_point(cc, p);