Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-08-23 15:56:54 +0300
committerCampbell Barton <campbell@blender.org>2022-08-23 15:56:54 +0300
commit21ea4995585931ad54f51c1878c06c526c3355a5 (patch)
treed349a046e24ba4a0c5400883ce169e306c305f67 /source/blender/python/intern/bpy_app_ocio.c
parentffb6cc263fe13e6cc75561b5dc8850f1d31faf0f (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_app_ocio.c')
0 files changed, 0 insertions, 0 deletions