Blender Git Loki

Git Commits -> Revision 0619f96

Revision 0619f96 by Brecht Van Lommel (master)
June 20, 2018, 10:35 (GMT)
Objects: restore H key per object hiding.

H hides selected objects, Shift+H hides unselected objects, and Alt+H
reveals hidden objects.

This hiding state is distinct from restrict viewport and render, and
meant for temporarily hiding objects without affecting more persistent
collection hiding.

Object hiding is per view-layer, same as selection. It affects the
viewport and any preview renders in there, but not final renders.

In the outliner, different icons are now used for temporary hiding, and
restrict viewport and render. Hidden objects are greyed out.

Remaining design issues:

* For lamps we probably still want to keep their effect on the scene,
currently they are fully disabled by hiding. Arguably mesh lights or
even objects being reflected or casting shadows are not that different
but perhaps the special lamp exception from local view should remain.
* We need a feature still to disabled this hiding for specific viewports,
for render or animation preview where you want to see the entire scene
while working in another view.
* We need a new icon for restrict viewport, for now it uses a grid similar
to the 2.4 icon.
* Hiding objects does not preserve selection state as it did in 2.7,
it's probably convenient to support this again?

Commit Details:

Full Hash: 0619f960c2999873ed2e9a24a1f5d77eac03e64d
Parent Commit: c17ba4a
Lines Changed: +419, -27

4 Added Paths:

/release/datafiles/blender_icons16/icon16_hide_off.dat (+0, -0) (View)
/release/datafiles/blender_icons16/icon16_hide_on.dat (+0, -0) (View)
/release/datafiles/blender_icons32/icon32_hide_off.dat (+0, -0) (View)
/release/datafiles/blender_icons32/icon32_hide_on.dat (+0, -0) (View)

25 Modified Paths:

/release/datafiles/blender_icons.svg (+176, -0) (Diff)
/release/datafiles/blender_icons16/icon16_restrict_view_off.dat (+0, -0) (Diff)
/release/datafiles/blender_icons16/icon16_restrict_view_on.dat (+0, -0) (Diff)
/release/datafiles/blender_icons32/icon32_restrict_view_off.dat (+0, -0) (Diff)
/release/datafiles/blender_icons32/icon32_restrict_view_on.dat (+0, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+19, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+17, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -0) (Diff)
/source/blender/editors/include/UI_icons.h (+6, -4) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+113, -0) (Diff)
/source/blender/editors/object/object_intern.h (+2, -0) (Diff)
/source/blender/editors/object/object_ops.c (+10, -0) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+30, -7) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+1, -0) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+7, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+5, -3) (Diff)
/source/blender/editors/undo/ed_undo.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+16, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_key.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021