diff options
author | Bastien Montagne <bastien@blender.org> | 2020-06-15 17:30:46 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-06-15 18:25:51 +0300 |
commit | 89bde99674b50ad313f6b7d459f8293c4993ba06 (patch) | |
tree | abf72519bfed95f064cfe6505ced2f2e97855f04 /source/blender/blenkernel/intern/collection.c | |
parent | 624994caa2544823a1c89a868e9bf6760f525269 (diff) |
Fix (unreported) critical mistake in Collection liblink code in readfile.c.
Prelimenary step to fix T77460.
Not sure how or when that thing was done, but since that call walks
around collections relationships, it's an utterly critical violation of
liblinking principles (code here should never, ever 'get outside' of its
own ID scope).
This was wroking so far only because code called through this function
(`BKE_collection_parent_relations_rebuild`) was only following parents
pointers (in `BKE_collection_find_cycle()`), which would be either valid
or non-existent.
But next commit is going to change that to also check collection's
objects instancing of other collections.
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
0 files changed, 0 insertions, 0 deletions