Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021