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:
parent
1968612e5b
commit
1e479d1722
Notes:
blender-bot
2023-02-14 11:34:36 +01:00
Referenced by issue #37525, Viewer node causes crash
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue