Blender Git Loki
Git Commits -> Revision 0812949
Revision 0812949 by Dalai Felinto (master) October 8, 2019, 22:16 (GMT) |
Local Collections: Allow users to show hidden collections Users now can turn on in a viewport collections that are temporarily hidden (eye) in the view layer. Design task: T61327 As for the implementation, I had to decouple the visibility in the depsgraph from the visibility in the view layer. Also there is a "bug" that in a way was there before which is some operators (e.g., writing a text inside of a text object, tab into edit mode) run regardless of the visibility of the active object. The bug was present already (with object type visibility restriction) in 2.80 so if we decide to tackle it, can be done separately (I have a patch for it though P1132). Reviewed by: brecht (thank you) Differential Revision: D5992 |
Commit Details:
Full Hash: 0812949bbc3d7acfd1f20a47087ff973110aa177
Parent Commit: 6d3c34f
Lines Changed: +142, -96
31 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+0, -3) (Diff)
/source/blender/alembic/intern/abc_exporter.cc (+1, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+6, -5) (Diff)
/source/blender/blenkernel/intern/layer.c (+60, -26) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object_update.c (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+6, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+2, -2) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+4, -4) (Diff)
/source/blender/editors/object/object_edit.c (+4, -4) (Diff)
/source/blender/editors/object/object_select.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_armature.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_camera.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_empty.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_light.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+7, -1) (Diff)
/source/blender/editors/transform/transform_orientations.c (+1, -0) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+12, -9) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+8, -13) (Diff)
/source/blender/alembic/intern/abc_exporter.cc (+1, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+6, -5) (Diff)
/source/blender/blenkernel/intern/layer.c (+60, -26) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object_update.c (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_query_iter.cc (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+6, -1) (Diff)
/source/blender/editors/animation/anim_filter.c (+2, -2) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+4, -4) (Diff)
/source/blender/editors/object/object_edit.c (+4, -4) (Diff)
/source/blender/editors/object/object_select.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_armature.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_camera.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_empty.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_light.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+7, -1) (Diff)
/source/blender/editors/transform/transform_orientations.c (+1, -0) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+12, -9) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+8, -13) (Diff)