Author: Carlos Lopez <[email protected]>
Date: Thu May 31 19:14:26 2012 +0200
Fix bug: ID: 3523296 Onion skin and tile render are broken: Mutex::Lock needs
to be inside while condition.
---
synfig-studio/src/gui/asyncrenderer.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/synfig-studio/src/gui/asyncrenderer.cpp
b/synfig-studio/src/gui/asyncrenderer.cpp
index cfdf0f9..4deb2fe 100644
--- a/synfig-studio/src/gui/asyncrenderer.cpp
+++ b/synfig-studio/src/gui/asyncrenderer.cpp
@@ -331,7 +331,7 @@ public:
else
#endif
{
- Glib::Mutex::Lock lock(mutex);
+
Glib::TimeVal end_time;
end_time.assign_current_time();
@@ -339,6 +339,7 @@ public:
while(alive_flag && !ready_next)
{
+ Glib::Mutex::Lock lock(mutex);
if(cond_frame_queue_empty.timed_wait(mutex,
end_time))
break;
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl