Blender Git Loki

Git Commits -> Revision d0258ab

Revision d0258ab by Dalai Felinto (master)
May 31, 2019, 17:02 (GMT)
Fix Outliner: New collections are hidden

Users could change the master collection flags, but they should not.

That would not effectively affect the master collection objects
(depsgraph flag evaluation ignores master collection flags).

However we use the layer collection flags of the parent collection when creating
a new child collection.

We *could* solve this differently by creating a new RNA type for the
master collection (and layer collection) and hook this with rna refine.
But this patch seems to work well enough and it is simpler.

Reviewers: brecht

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

Commit Details:

Full Hash: d0258abdd7db5aee66da78008df897d8f444b987
Parent Commit: 3f23299
Lines Changed: +83, -0

3 Modified Paths:

/source/blender/blenloader/intern/versioning_280.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_collection.c (+34, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+41, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021