From: dooglus Date: Thu, 11 Oct 2007 19:36:32 +0000 (+0000) Subject: When single threaded, update the gui after rendering each frame. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3fe8b02daa1dff7dd1d00dc6e85b70c96103d185;p=synfig.git When single threaded, update the gui after rendering each frame. git-svn-id: http://svn.voria.com/code@911 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp b/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp index 70051dc..d68f762 100644 --- a/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp +++ b/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp @@ -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);