From 3fe8b02daa1dff7dd1d00dc6e85b70c96103d185 Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 11 Oct 2007 19:36:32 +0000 Subject: [PATCH] When single threaded, update the gui after rendering each frame. git-svn-id: http://svn.voria.com/code@911 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.7.4