From: dooglus Date: Wed, 10 Oct 2007 03:21:22 +0000 (+0000) Subject: Only check whether the renderer is updating when single threaded. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;ds=sidebyside;h=d3b5937b42cbf54d1b624272c8ffaad001c78390;p=synfig.git Only check whether the renderer is updating when single threaded. git-svn-id: http://svn.voria.com/code@884 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 65600c5..64860e7 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -2174,11 +2174,13 @@ public: bool studio::WorkArea::async_update_preview() { +#ifdef SINGLE_THREADED if (async_renderer && async_renderer->updating == true) { async_renderer->stop(); return false; } +#endif // SINGLE_THREADED async_renderer=0;