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.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user