Blender Git Commit Log

Git Commits -> Revision 2994b6d

September 29, 2021, 09:14 (GMT)
EEVEE: Fix crash when destroying the Instance (in debug build)

This was caused by the StructArrayBuffer wrapper not being tagged as NonMovable.
The UBO was in fact being freed at creation time in debug build, but the
pointer was kept as valid in the copied wrapper.

Changing the higher level structure to not use the copy constructor to avoid this.

Commit Details:

Full Hash: 2994b6dd9856fab655fbb20a30d75e1eeae651e2
Parent Commit: ab6a6ff
Lines Changed: +40, -41

4 Modified Paths:

/source/blender/draw/engines/eevee/eevee_lightprobe.cc (+5, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobe.hh (+9, -9) (Diff)
/source/blender/draw/engines/eevee/eevee_view.hh (+24, -27) (Diff)
/source/blender/draw/engines/eevee/eevee_wrapper.hh (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021