Blender Git Loki

Git Commits -> Revision 1f5106d

Revision 1f5106d by Dalai Felinto (master)
December 15, 2017, 10:56 (GMT)
Group collection viewport/render options and remove collection visibility

Users can change the group collection visibility in the outliner
when looking at groups.

Regular collections on the other hand don't have any special visibility control,
if you need a collection to be invisible during render, either don't link it
into the view layer used for F12, or disable it.

This includes:
* Updated unittests - update your lib/tests/layers folder.
* Subversion bump - branches be aware of that.

Note:
Although we are using eval_ctx to determine the visibility of a group collection
when rendering, the depsgraph is still using the same depsgraph for the viewport
and the render engine, so at the moment the render visibility is ignored.

Following next is a workaround for this separately to tag the groups before and
after rendering to tackle that.

Commit Details:

Full Hash: 1f5106de610b115b87ab6121d7871d447ca48cd2
Parent Commit: 7402b8e
Lines Changed: +248, -303

38 Modified Paths:

/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_layer.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+23, -33) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+46, -20) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+6, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+0, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+3, -6) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -3) (Diff)
/source/blender/draw/modes/object_mode.c (+0, -4) (Diff)
/source/blender/editors/render/render_preview.c (+2, -3) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+2, -3) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+44, -61) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+6, -4) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+20, -58) (Diff)
/source/blender/makesrna/intern/rna_object.c (+7, -14) (Diff)
/tests/python/view_layer/test_evaluation_selectability_a.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_b.py (+2, -2) (Diff)
/tests/python/view_layer/test_evaluation_selectability_c.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_d.py (+2, -2) (Diff)
/tests/python/view_layer/test_evaluation_selectability_e.py (+3, -3) (Diff)
/tests/python/view_layer/test_evaluation_selectability_f.py (+2, -2) (Diff)
/tests/python/view_layer/test_evaluation_visibility_a.py (+2, -2) (Diff)
/tests/python/view_layer/test_evaluation_visibility_b.py (+3, -3) (Diff)
/tests/python/view_layer/test_evaluation_visibility_c.py (+3, -3) (Diff)
/tests/python/view_layer/test_evaluation_visibility_d.py (+1, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_e.py (+2, -2) (Diff)
/tests/python/view_layer/test_evaluation_visibility_f.py (+3, -3) (Diff)
/tests/python/view_layer/test_group_b.py (+8, -8) (Diff)
/tests/python/view_layer/test_move_above_below_layer_collection_f.py (+6, -6) (Diff)
/tests/python/view_layer/test_move_above_below_layer_collection_g.py (+6, -6) (Diff)
/tests/python/view_layer/test_move_above_below_layer_collection_h.py (+6, -6) (Diff)
/tests/python/view_layer/test_move_above_below_layer_collection_i.py (+4, -4) (Diff)
/tests/python/view_layer/test_move_above_below_layer_collection_j.py (+4, -4) (Diff)
/tests/python/view_layer/test_move_into_layer_collection_f.py (+4, -4) (Diff)
/tests/python/view_layer/test_move_into_layer_collection_g.py (+6, -6) (Diff)
/tests/python/view_layer/test_move_into_layer_collection_h.py (+4, -4) (Diff)
/tests/python/view_layer/test_scene_copy_f.py (+12, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021