From b0689936c4e20708f0c4af30ab9d6981aec74515 Mon Sep 17 00:00:00 2001 From: johncoswell Date: Wed, 6 Sep 2006 12:32:06 +0000 Subject: [PATCH] Enabled forced redraw on nodepath tool --- src/nodepath.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 257071a42..7c7dc956e 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -483,7 +483,7 @@ void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotati g_return_if_fail(np != NULL); update_repr_internal(np); - //sp_canvas_end_forced_full_redraws(np->desktop->canvas); + sp_canvas_end_forced_full_redraws(np->desktop->canvas); sp_document_done(sp_desktop_document(np->desktop), SP_VERB_CONTEXT_NODE, annotation); @@ -2988,7 +2988,7 @@ static void node_grabbed(SPKnot *knot, guint state, gpointer data) } n->is_dragging = true; - //sp_canvas_force_full_redraw_after_interruptions(n->subpath->nodepath->desktop->canvas, 5); + sp_canvas_force_full_redraw_after_interruptions(n->subpath->nodepath->desktop->canvas, 5); sp_nodepath_remember_origins (n->subpath->nodepath); } @@ -3265,7 +3265,7 @@ static void node_handle_grabbed(SPKnot *knot, guint state, gpointer data) g_assert_not_reached(); } - //sp_canvas_force_full_redraw_after_interruptions(n->subpath->nodepath->desktop->canvas, 5); + sp_canvas_force_full_redraw_after_interruptions(n->subpath->nodepath->desktop->canvas, 5); } /** @@ -3287,7 +3287,7 @@ static void node_handle_ungrabbed(SPKnot *knot, guint state, gpointer data) } sp_nodepath_update_repr(n->subpath->nodepath, _("Move node handle")); - //sp_canvas_end_forced_full_redraws(n->subpath->nodepath->desktop->canvas); + sp_canvas_end_forced_full_redraws(n->subpath->nodepath->desktop->canvas); } /** -- 2.30.2