Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dalai@blender.org>2021-06-25 18:12:10 +0300
committerDalai Felinto <dalai@blender.org>2021-06-28 10:34:44 +0300
commitbb2648ebf0022186bdd27e451194388d1fd4cce0 (patch)
treefd0fea92ce48ff812bd5b2abd5cc891ddf0251ae /release/scripts/startup/bl_ui/space_outliner.py
parent2ff490f9e3d61cfc5e18f1eb660aff80da7d021a (diff)
Outliner: View Layers filter for View Layer Mode
This option allow users to see the view layer in context to the others. It is particularly useful to see which view layers have which collections enabled, and their render settings (holdout, ...). This option is off by default. Differential Revision: https://developer.blender.org/D11708
Diffstat (limited to 'release/scripts/startup/bl_ui/space_outliner.py')
-rw-r--r--release/scripts/startup/bl_ui/space_outliner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index 6eafa570f4c..7a694108e14 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -370,6 +370,10 @@ class OUTLINER_PT_filter(Panel):
col = layout.column(align=True)
row = col.row()
+ row.label(icon='RENDERLAYERS')
+ row.prop(space, "use_filter_view_layers", text="All View Layers")
+
+ row = col.row()
row.label(icon='OUTLINER_COLLECTION')
row.prop(space, "use_filter_collection", text="Collections")