When single threaded, update the gui after rendering each frame.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Oct 2007 19:36:32 +0000 (19:36 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Oct 2007 19:36:32 +0000 (19:36 +0000)
git-svn-id: http://svn.voria.com/code@911 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 70051dc..d68f762 100644 (file)
@@ -306,7 +306,9 @@ public:
 #endif
                }
 
-               if (!single_threaded())
+               if (single_threaded())
+                       signal_progress()();
+               else
                        while(alive_flag && !ready_next)
                        {
                                Glib::Mutex::Lock lock(mutex);