Code

Enabled forced redraw on nodepath tool
authorjohncoswell <johncoswell@users.sourceforge.net>
Wed, 6 Sep 2006 12:32:06 +0000 (12:32 +0000)
committerjohncoswell <johncoswell@users.sourceforge.net>
Wed, 6 Sep 2006 12:32:06 +0000 (12:32 +0000)
src/nodepath.cpp

index 257071a42ae2b455caeb75e766512e2a91d57893..7c7dc956ef5bfc27220ed4c5aac85e41f2ad771a 100644 (file)
@@ -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);
 }
 
 /**