From db49fa613552bf53c58d019ce204b84234ac27f7 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 10 Oct 2007 03:20:49 +0000 Subject: [PATCH] Clear the dirty flag before starting the render, not after. This shouldn't make any difference, but if this thread gets swapped out between the two lines and the rendering finishes before the flag is clearer, we won't see the results of the render. git-svn-id: http://svn.voria.com/code@881 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/dock_navigator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp b/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp index b96f0e8..d0717bb 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_navigator.cpp @@ -167,8 +167,8 @@ void studio::Widget_NavView::on_start_render() renderer = new AsyncRenderer(targ); renderer->signal_success().connect(sigc::mem_fun(*this,&Widget_NavView::on_finish_render)); - renderer->start(); dirty = false; + renderer->start(); } } -- 2.7.4