Blender Git Loki

Git Commits -> Revision b1af682

Revision b1af682 by Dalai Felinto (master)
May 10, 2019, 22:48 (GMT)
Outliner Visibility Update

See T61578 for discussions and mockups.

Visibility Options
==================
We are adding more granular control over restriction columns in the outliner,
exposing "indirect only" and "holdout" as options, and change the way
users enable/disable collections in a viewlayer.

We also rename the object viewport restriction to hide instance.

So the options we have are:

Collection
----------
* Render Visibility
* Instance Visibility
* Selectable

(View) Layer Collection
-----------------------
* Enable
* Holdout
* Indirect Only
* Viewport

Shortcuts
=========
Isolate Collection
------------------
* Ctr + click isolates the collection.
It turns all its parents and children "visible", and all the other
collections "invisible".

If ALL the collections were already properly set, we re-set the
collections to their default value.

Set Collection Inside Collections and Objects
---------------------------------------------
* Shift + click: Set/unset inside collections and objects.

We only set objects values as well when we are in View Layer mode and
(obviously) when the objects have a matching property.

Icons
=====
Little reminder that we will need better icons for holdout, indirect only, and
probably instanced (nothing wrong with the current, but it differs from
the proposal when it is turned off).

Also, we need to decide where do we want the modifier/bones/... icons to
be (in which column) and ideally make sure their icons match the ones we
use for collections/objects.

At the moment those are using the screen icon, which is not being used
by collections.

Reviewers: brecht, billrey
Subscribers: pablovazquez
Differential Revision: https://developer.blender.org/D4823

Commit Details:

Full Hash: b1af682001596fb2943dca3e39a256be71637906
Parent Commit: de9d846
Lines Changed: +1143, -432

33 Modified Paths:

/release/scripts/startup/bl_ui/space_outliner.py (+24, -2) (Diff)
/source/blender/alembic/intern/abc_transform.cc (+1, -1) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_collection.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/layer.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+21, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+1, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+2, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+5, -0) (Diff)
/source/blender/editors/mask/mask_ops.c (+4, -4) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+3, -3) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+895, -370) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+4, -5) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+1, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+7, -2) (Diff)
/source/blender/editors/space_outliner/outliner_utils.c (+40, -0) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_collection_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+13, -2) (Diff)
/source/blender/makesrna/intern/rna_collection.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+41, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_space.c (+41, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021