From d3b5937b42cbf54d1b624272c8ffaad001c78390 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 10 Oct 2007 03:21:22 +0000 Subject: [PATCH] Only check whether the renderer is updating when single threaded. git-svn-id: http://svn.voria.com/code@884 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/workarea.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.7.4