Blender Git Loki

Git Commits -> Revision 4389d51

November 30, 2018, 04:35 (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: 4389d5135508f4791c475e96e09f6404718942c1
Parent Commit: a687d98
Lines Changed: +120, -52

10 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 (+79, -44) (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/editors/screen/screen_context.c (+6, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+4, -2) (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