Blender Git Loki

Git Commits -> Revision 2fd657d

Revision 2fd657d by Brecht Van Lommel (master)
December 2, 2021, 15:34 (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: 2fd657db5b2b34aab32cd26b2f65ef7c94f0104a
Parent Commit: 61e92ee
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