Blender Git Commit Log
Git Commits -> Revision 897e047
Revision 897e047 by Dalai Felinto (master) February 5, 2019, 21:32 (GMT) |
Outliner visibility unification: Implement 3 levels of viewport visibility Now collection and objects can be either: * Disabled for all the view layers. * Hidden for a view layer but not necessarily for all others. * Visible for a view layer but not necessarily for all others. Regarding icons: Whatever we decide to use for the "Hidden for all view layers" needs to be a toggle-like icon. Because when viewing "Scenes" instead of "View Layer" in the outliner we should be able to edit the collection "Hidden for all the view layers" as an on/off option. The operators are accessible via a Visibility context menu or shortcuts: * Ctrl + Click: Isolate collection (use shift to extend). * Alt + Click: Disable collection. * Shift + Click: Hide/Show collection and its children (objects and collections) Things yet to be tackled: * Object outliner context menu can also get a Visibility sub-menu. * Get better icons for viewport enable/disable. Note: * When using emulate 3 button mouse alt+click is used for 2d panning. In this case users have to use the operator from the menu. See T57857 for discussion. Patch: https://developer.blender.org/D4011 Reviewers: brecht and sergey Thanks to the reviewers and William Reynish and Julien Kasper in particular for the feedback. |
Commit Details:
Full Hash: 897e047374fa3d3ceef35aa2cdb3372b6a7cc64a
Parent Commit: e3f7f0c
Lines Changed: +641, -120
12 Modified Paths:
/release/scripts/startup/bl_ui/space_outliner.py (+27, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+120, -37) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+0, -5) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+0, -5) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+10, -10) (Diff)
/source/blender/editors/object/object_edit.c (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+342, -0) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+96, -52) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+11, -2) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+18, -5) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+120, -37) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+0, -5) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+0, -5) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+10, -10) (Diff)
/source/blender/editors/object/object_edit.c (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+342, -0) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+96, -52) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+11, -2) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+18, -5) (Diff)