Blender Git Loki

Git Commits -> Revision 349c17c

Revision 349c17c by Kévin Dietrich (master)
February 11, 2021, 11:03 (GMT)
Fix T85462: crash in render mode while removing instances

This crash is caused by accessing object data in the kernel at an out of bound index from a deleted instance.

Cycles represents instances as Object nodes sharing the same Geometry node, so we need to tag the GeometryManager for an update if some objects are added or removed as no geometry might have been added or removed in order to properly update the BVH and its associated data arrays.

Regression caused by rBbbe6d4492823.

Commit Details:

Full Hash: 349c17cf5436d3726d22bcf61160b1e3cb320e12
Parent Commit: 69e1916
Lines Changed: +9, -1

1 Modified Path:

/intern/cycles/render/object.cpp (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021