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:
authorJulian Eisel <julian@blender.org>2022-09-08 15:19:59 +0300
committerJulian Eisel <julian@blender.org>2022-09-08 15:19:59 +0300
commitb5fc8f611e3948a19c26d425496d76079506f480 (patch)
treec88c561c965fee8b67a899f2a36f5e81692bafdf /release
parent2a769e76a09b55dcbd21bc7c6660092e09c63f00 (diff)
Outliner: Hide ID type filter for library overrides
a) There were two filter icons next to each other in the header which isn't exactly professional, b) the filter was redundant since IDs are now grouped under an ID type element ("Objects", "Collection", ...) anyway. In the hierarchies view it was already hidden (because the whole point of it is to show relationships between IDs, you wouldn't want to have any parts of the hierarchy hidden).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_outliner.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index e3dfb5ffa61..ec0ad401f5a 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -53,11 +53,8 @@ class OUTLINER_HT_header(Header):
text="",
icon='FILTER',
)
- if display_mode == 'LIBRARY_OVERRIDES' and space.lib_override_view_mode == 'HIERARCHIES':
- # Don't add ID type filter for library overrides hierarchies mode. Point of it is to see a hierarchy that is
- # usually constructed out of different ID types.
- pass
- elif display_mode in {'LIBRARIES', 'LIBRARY_OVERRIDES', 'ORPHAN_DATA'}:
+
+ if display_mode in {'LIBRARIES' 'ORPHAN_DATA'}:
row.prop(space, "use_filter_id_type", text="", icon='FILTER')
sub = row.row(align=True)
sub.active = space.use_filter_id_type