Blender Git Commit Log

Git Commits -> Revision ac9daf3

Revision ac9daf3 by Bastien Montagne (master)
February 6, 2019, 20:13 (GMT)
Fix (unreported) crash when iterating on depsgraph instances from RNA.

This is a follow-up to rBb44e6f2b3d32, for some reason that issue was
not detected back then: in some cases, DEG_iterator_objects_next() will
free the temp list of dupli objects once it does not need it anymore,
henceforth freeing the dupli_object_current memory of the DEGObjectIterData
that we are storing in the RNA_Depsgraph_Instances_Iterator struct.

And yes, the uglyness of that hack is getting even better now...

Found while trying to export dupliobjects with FBX...

Commit Details:

Full Hash: ac9daf3a27df8693fc2a6852d52bea5c33ca6c56
Parent Commit: 766741b
Lines Changed: +8, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_depsgraph.c (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021