Blender Git Loki

Git Commits -> Revision 3d984aa

Revision 3d984aa by Dalai Felinto (master)
February 5, 2019, 20:42 (GMT)
Per view-layer collection visibility

[re-committing]

We still control this in the viewport collections visibility menu. But
now we are actually changing the visibility of the collections, not of
the objects.

If a collection is indirectly invisible (because one of its parents are
invisible) we gray it out.

Also if you click directly in the collection names, it "isolates" the
collection by hiding all collections, and showing the direct parents and
all the children of the selected collection.

Development Note:

Right now I'm excluding the hidden collections from the depsgraph.
Thus the need for tagging relations to update.

If this proves to be too slow, we can change.

Commit Details:

Full Hash: 3d984aa15038f7a7bdf4ffacb93da83713353613
Parent Commit: d1ef6be
Lines Changed: +109, -44

8 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+2, -5) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+78, -38) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+5, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+5, -0) (Diff)
/source/blender/editors/object/object_edit.c (+2, -1) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+13, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021