diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-23 15:56:54 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-23 15:56:54 +0300 |
commit | 21ea4995585931ad54f51c1878c06c526c3355a5 (patch) | |
tree | d349a046e24ba4a0c5400883ce169e306c305f67 /source/blender/python/intern/bpy_rna_operator.c | |
parent | ffb6cc263fe13e6cc75561b5dc8850f1d31faf0f (diff) |
Fix T100286: Crash accessing freed depsgraph object instances
Invalidate depsgraph.object_instances when freed, this resolves a crash
when accessing the object instances after iteration has finished.
Unlike most other collections, object_instances is only valid while the
iterator is in-memory.
The Python/RNA API needs to inline int/string collection lookups so the
Python instance can be created before the iterator ends.
Reviewed By: mont29, sergey
Ref D15755
Diffstat (limited to 'source/blender/python/intern/bpy_rna_operator.c')
0 files changed, 0 insertions, 0 deletions