diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-19 11:15:17 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-11-19 11:15:17 +0400 |
commit | 1e479d1722df16fe62ed244ef248eb5f528bc908 (patch) | |
tree | 5c4b5222c1a7b78a59fe33d21e1d574ccb947d46 /source/blender/compositor/operations/COM_ViewerOperation.cpp | |
parent | 1968612e5b48299a0c03de807e242f36b41c68c8 (diff) |
Potential fix for T37525: Viewer node causes crash
LOCK_DRAW_IMAGE used to be unlocked twice. Now made it
so all the thread-unsafe code is inside a single lock/
unlock section.
Diffstat (limited to 'source/blender/compositor/operations/COM_ViewerOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ViewerOperation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cpp b/source/blender/compositor/operations/COM_ViewerOperation.cpp index 468aec64a56..97be44e2be0 100644 --- a/source/blender/compositor/operations/COM_ViewerOperation.cpp +++ b/source/blender/compositor/operations/COM_ViewerOperation.cpp @@ -147,8 +147,6 @@ void ViewerOperation::initImage() ima->ok = IMA_OK_LOADED; ibuf->userflags |= IB_DISPLAY_BUFFER_INVALID; - - BLI_unlock_thread(LOCK_DRAW_IMAGE); } if (m_doDepthBuffer) { |