Put a mutex around Plant::sync() to stop 2 threads running it at the same time. ...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Sep 2007 23:03:11 +0000 (23:03 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Sep 2007 23:03:11 +0000 (23:03 +0000)
commit5258ea3fc1fc9e3b45627fd217e5229fc53f305a
tree3869ec9aa2ef75343ff4920b966afdaa082eb5ff
parent9074e61b3c529f5d60e5adf7c8483ccc58366d60
Put a mutex around Plant::sync() to stop 2 threads running it at the same time.  This was causing crashes.  The same probably needs doing to most of the other layers, too.

git-svn-id: http://svn.voria.com/code@635 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/modules/mod_particle/plant.cpp
synfig-core/trunk/src/modules/mod_particle/plant.h