summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2006-09-04 15:53:55 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2006-09-04 15:53:55 +0000
commitf2d8708430d0d0749fccb1810c79b348f3d42dc2 (patch)
treea778aa6d169c468593aa7d6ce9ef6a922aeaf917 /src/nodepath.cpp
parentFix race condition where node dragging is not ended after mouse button is rel... (diff)
downloadinkscape-f2d8708430d0d0749fccb1810c79b348f3d42dc2.tar.gz
inkscape-f2d8708430d0d0749fccb1810c79b348f3d42dc2.zip
Force non-interruptible redraws while modifying paths to ensure accurate display
(bzr r1682)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index 067cf5435..12de70eda 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -441,6 +441,8 @@ static void update_object(Inkscape::NodePath::Path *np)
SPCurve *curve = create_curve(np);
+ sp_canvas_force_full_redraws(np->desktop->canvas, 2);
+
sp_shape_set_curve(SP_SHAPE(np->path), curve, TRUE);
sp_curve_unref(curve);
@@ -483,6 +485,8 @@ void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotati
g_return_if_fail(np != NULL);
update_repr_internal(np);
+ sp_canvas_clear_forced_full_redraws(np->desktop->canvas);
+
sp_document_done(sp_desktop_document(np->desktop), SP_VERB_CONTEXT_NODE,
annotation);