Blender Git Commit Log

Git Commits -> Revision 2ef192a

Revision 2ef192a by Bastien Montagne (master)
June 3, 2021, 08:27 (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: 2ef192a55b2ca65f07f678aada199357b06713e9
Parent Commit: a51f8f9
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