diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-11-17 15:07:46 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-11-17 15:07:46 +0400 |
commit | 0071ce502261dd68c621e62637b18c9297630952 (patch) | |
tree | f5de002527e927ae73c4f2c2d3ca6813532205af /source/blender/blenkernel/intern/image.c | |
parent | 62cba2ca23fe75a251db8f834b81c1c24e8a57ad (diff) |
Fix #33209: Opening an image with image node on Compositing freezes Blender
Own mistake in image threading commit.
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 993d72ab2e7..d98c2bc2f8b 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -2173,6 +2173,8 @@ void BKE_image_signal(Image *ima, ImageUser *iuser, int signal) break; } + BLI_spin_unlock(&image_spin); + /* don't use notifiers because they are not 100% sure to succeeded * this also makes sure all scenes are accounted for. */ { @@ -2183,8 +2185,6 @@ void BKE_image_signal(Image *ima, ImageUser *iuser, int signal) } } } - - BLI_spin_unlock(&image_spin); } /* if layer or pass changes, we need an index for the imbufs list */ |