Blender Git Loki

Git Commits -> Revision 299435a

Revision 299435a by Brecht Van Lommel (lineart-shadow)
December 8, 2021, 06:53 (GMT)
Fix T93560: crash with image paint undo and cycles preview render

Cycles preview rendering could free the image buffers being used by drawing in
another thread due to a race condition. This race condition was unlikely before,
but now that preview renders are started right before we draw the image in the
image editor or load it as a texture in the 3D viewport, it's likely to happen.

As we are close to release this is too risky to fix properly, just avoid freeing
the cache for preview renders instead and accept increased memory usage in some
cases.

Commit Details:

Full Hash: 299435adb52b891d1a4c10d779f63bbd8fb4f2ce
Parent Commit: f2b81cd
Committed By: YimingWu
Lines Changed: +14, -6

3 Modified Paths:

/intern/cycles/blender/image.cpp (+8, -2) (Diff)
/intern/cycles/blender/image.h (+1, -1) (Diff)
/intern/cycles/blender/shader.cpp (+5, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021