Blender Git Loki

Git Commits -> Revision 2d37e46

June 7, 2021, 14:58 (GMT)
IDManagement: Collection: Fix several issues in relationships building code.

`BKE_main_collections_parent_relations_rebuild`,
`BKE_collection_parent_relations_rebuild` anf their internal
dependencies had two issues fixed by this commit:

* Main one was that a same collection could be processed several times,
sometimes even in an infinite loop (in some rare corner cases), by
`collection_parents_rebuild_recursive`.
* More exotic, code here would not ensure that the collections it was
processing were actually in Main (or a master one from a scene in
Main), which became an issue with some advanced ID management
processes involving partially out-of-main remapping, like liboverride
resync.

Commit Details:

Full Hash: 2d37e469a219d7fa9df425b8181620b5df918af8
Parent Commit: 20b0de7
Committed By: Jacques Lucke
Lines Changed: +18, -0

1 Modified Path:

/source/blender/blenkernel/intern/collection.c (+18, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021