Blender Git Commit Log

Git Commits -> Revision 92736a7

Revision 92736a7 by Dalai Felinto (master)
September 13, 2019, 15:37 (GMT)
Per-Viewport Collection Visibility

Support per-viewport collection visibility options.

Note 1: There is no way to show a collection that was not visible before
due to depsgraph. Otherwise we would risk having all the collections in
the depsgraph and I believe this is not the idea.

An alternative would be to have a new depsgraph for viewports that are
not local. Something to keep in mind if we do per-viewport current frame
in the future.

So for now what we do is to only allow collections visibility to be
disabled/hidden in this mode.

Note 2: hide_viewport (the eye icon) doesn't really matter for
depsgraph. So after the merge we can still ignore it to show the
collections locally in a viewport with no problems for the depsgraph.

Reviewers: brecht, sergey
Subscribers: billreynish

Related task: T61327
Differential Revision: https://developer.blender.org/D5611

Commit Details:

Full Hash: 92736a7b75920ffe4b8016a2d097ff8e36687c70
Parent Commit: ce34a6b
Lines Changed: +395, -18

16 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+22, -5) (Diff)
/source/blender/blenkernel/BKE_layer.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+112, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+20, -1) (Diff)
/source/blender/draw/intern/draw_manager.c (+17, -6) (Diff)
/source/blender/editors/include/ED_view3d.h (+4, -0) (Diff)
/source/blender/editors/object/object_edit.c (+18, -2) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+134, -2) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+6, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+21, -0) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021