From: dooglus Date: Wed, 10 Oct 2007 03:20:49 +0000 (+0000) Subject: Clear the dirty flag before starting the render, not after. This shouldn't make... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=db49fa613552bf53c58d019ce204b84234ac27f7;p=synfig.git 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 --- 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(); } }