summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-07-18 12:56:25 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-07-18 12:56:25 +0000
commiteae8322c8b968bbf076323eb68707124bfc810d9 (patch)
tree55fcc2e3532076b16f22ac310f675c82c7a6ed9c /src/nodepath.cpp
parentMinor French translation update. (diff)
downloadinkscape-eae8322c8b968bbf076323eb68707124bfc810d9.tar.gz
inkscape-eae8322c8b968bbf076323eb68707124bfc810d9.zip
Make the snap delay mechanism easier to implement for the devs, and get rid of the related warning messages
(bzr r8302)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 8a47b658b..f9a615583 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -3590,7 +3590,6 @@ static void node_grabbed(SPKnot *knot, guint state, gpointer data)
}
n->is_dragging = true;
- //sp_event_context_snap_window_open(n->subpath->nodepath->desktop->canvas);
// Reconstruct and store the location of the mouse pointer at the time when we started dragging (needed for snapping)
n->subpath->nodepath->drag_origin_mouse = knot->grabbed_rel_pos + knot->drag_origin;
@@ -3608,7 +3607,6 @@ static void node_ungrabbed(SPKnot */*knot*/, guint /*state*/, gpointer data)
n->dragging_out = NULL;
n->is_dragging = false;
- //sp_event_context_snap_window_closed(n->subpath->nodepath->desktop->canvas);
n->subpath->nodepath->drag_origin_mouse = Geom::Point(NR_HUGE, NR_HUGE);
sp_canvas_end_forced_full_redraws(n->subpath->nodepath->desktop->canvas);