Blender Git Commit Log
Git Commits -> Revision 67b014a
Revision 67b014a by Brecht Van Lommel (master) April 26, 2018, 15:06 (GMT) |
Workspaces: active view layer now always comes from workspace, not scene. Both the scene and workspace had an active view layer, and it was confusing which settings were being used or displayed where. Now we always have one, so there is no mismatch. The "View Layers" tab in the properties editor is now "View Layer", no longer showing a list of layers. Instead view layers can be added and removed with the workspace view layer selector. They are also listed and selectable in the outliner. Single layer rendering uses the active view layer from the workspace. This fixes bugs where the wrong active view layer was used, but more places remain that are wrong and are now using the first view layer in the scene. These are all marked with BKE_view_layer_context_active_PLACEHOLDER. |
Commit Details:
Full Hash: 67b014af484ad4ba6667e3cf9907422bedc8238a
Parent Commit: c490428
Lines Changed: +298, -390
59 Modified Paths:
/intern/cycles/blender/addon/properties.py (+1, -1) (Diff)
/intern/cycles/blender/addon/ui.py (+8, -8) (Diff)
/release/scripts/startup/bl_operators/freestyle.py (+3, -3) (Diff)
/release/scripts/startup/bl_ui/properties_freestyle.py (+9, -9) (Diff)
/release/scripts/startup/bl_ui/properties_view_layer.py (+7, -27) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_topbar.py (+7, -1) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+33, -10) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -10) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+1, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+21, -28) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+26, -32) (Diff)
/source/blender/editors/scene/scene_edit.c (+1, -2) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+55, -48) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+6, -11) (Diff)
/source/blender/editors/space_node/node_edit.c (+0, -16) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+11, -7) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+5, -7) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -0) (Diff)
/source/blender/editors/space_topbar/space_topbar.c (+9, -5) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+13, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+12, -67) (Diff)
/source/blender/makesrna/intern/rna_space.c (+3, -3) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_bake.h (+2, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+3, -5) (Diff)
/source/blender/render/intern/source/external_engine.c (+1, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+24, -35) (Diff)
/tests/python/view_layer/test_evaluation_selectability_a.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_c.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_d.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_e.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_f.py (+2, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_a.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_c.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_d.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_e.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_f.py (+0, -1) (Diff)
/tests/python/view_layer/test_object_copy.py (+0, -1) (Diff)
/tests/python/view_layer/test_object_link_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_operator_context.py (+0, -2) (Diff)
/tests/python/view_layer/view_layer_common.py (+0, -2) (Diff)
/intern/cycles/blender/addon/ui.py (+8, -8) (Diff)
/release/scripts/startup/bl_operators/freestyle.py (+3, -3) (Diff)
/release/scripts/startup/bl_ui/properties_freestyle.py (+9, -9) (Diff)
/release/scripts/startup/bl_ui/properties_view_layer.py (+7, -27) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_topbar.py (+7, -1) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_linestyle.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_scene.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+33, -10) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -10) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+5, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc (+1, -1) (Diff)
/source/blender/editors/object/object_bake_api.c (+2, -2) (Diff)
/source/blender/editors/render/render_internal.c (+21, -28) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/render/render_preview.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+26, -32) (Diff)
/source/blender/editors/scene/scene_edit.c (+1, -2) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+55, -48) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+6, -11) (Diff)
/source/blender/editors/space_node/node_edit.c (+0, -16) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+11, -7) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+5, -7) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+1, -0) (Diff)
/source/blender/editors/space_topbar/space_topbar.c (+9, -5) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+13, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+12, -67) (Diff)
/source/blender/makesrna/intern/rna_space.c (+3, -3) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_bake.h (+2, -1) (Diff)
/source/blender/render/extern/include/RE_pipeline.h (+3, -5) (Diff)
/source/blender/render/intern/source/external_engine.c (+1, -2) (Diff)
/source/blender/render/intern/source/pipeline.c (+24, -35) (Diff)
/tests/python/view_layer/test_evaluation_selectability_a.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_c.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_d.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_e.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_selectability_f.py (+2, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_a.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_c.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_d.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_e.py (+0, -1) (Diff)
/tests/python/view_layer/test_evaluation_visibility_f.py (+0, -1) (Diff)
/tests/python/view_layer/test_object_copy.py (+0, -1) (Diff)
/tests/python/view_layer/test_object_link_b.py (+0, -1) (Diff)
/tests/python/view_layer/test_operator_context.py (+0, -2) (Diff)
/tests/python/view_layer/view_layer_common.py (+0, -2) (Diff)