Blender Git Loki

Git Commits -> Revision 89491d6

Revision 89491d6 by Hans Goudey (master)
October 9, 2020, 21:00 (GMT)
Fix T81545: Moving nested collections changes view layer flags

The code that restored collection flags after they are rebuilt when
moving a collection didn't take into account collection children. The
flag for the active collection was properly restored, but all of its
children would take on the exclude flag of the collection the active
collection was dragged into.

This commit builds a temporary tree structure to store the flags for
the moving collection and its children. Then it reapplies these flags
after `BKE_main_collection_sync`.

Differential Revision: https://developer.blender.org/D9158

Commit Details:

Full Hash: 89491d67d96f0bf104e65d88fbc39fee9ebaced6
Parent Commit: 4173877
Lines Changed: +110, -39

1 Modified Path:

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