projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a mutex to prevent the two render threads (rendering the workarea and the navigat...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
layer_duplicate.cpp
diff --git
a/synfig-core/trunk/src/synfig/layer_duplicate.cpp
b/synfig-core/trunk/src/synfig/layer_duplicate.cpp
index
6577237
..
32b9baa
100644
(file)
--- a/
synfig-core/trunk/src/synfig/layer_duplicate.cpp
+++ b/
synfig-core/trunk/src/synfig/layer_duplicate.cpp
@@
-173,6
+173,7
@@
Layer_Duplicate::accelerated_render(Context context,Surface *surface,int quality
Color::BlendMethod blend_method(get_blend_method());
int steps = duplicate_param->count_steps(time_cur);
+ Mutex::Lock lock(mutex);
duplicate_param->reset_index(time_cur);
do
{