Only check whether the renderer is updating when single threaded.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 10 Oct 2007 03:21:22 +0000 (03:21 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 10 Oct 2007 03:21:22 +0000 (03:21 +0000)
git-svn-id: http://svn.voria.com/code@884 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/workarea.cpp

index 65600c5..64860e7 100644 (file)
@@ -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;