Outliner: Rename "All Collections" display mode to "Master Collection Tree"

Also don't show alphabetical sorting option for "Active Render Layer" mode.
This commit is contained in:
Julian Eisel
2017-03-15 20:43:04 +01:00
parent 209d4d6993
commit a449214854
2 changed files with 4 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ class OUTLINER_HT_header(Header):
elif space.display_mode == 'ORPHAN_DATA':
layout.operator("outliner.orphans_purge")
elif space.display_mode in {'ACT_LAYER', 'COLLECTIONS'}:
elif space.display_mode in {'ACT_LAYER', 'MASTER_COLLECTION'}:
row = layout.row(align=True)
row.operator("outliner.collection_new", text="", icon='NEW')
@@ -98,7 +98,7 @@ class OUTLINER_MT_view(Menu):
space = context.space_data
if space.display_mode not in {'DATABLOCKS', 'USER_PREFERENCES', 'KEYMAPS'}:
if space.display_mode != 'COLLECTIONS':
if space.display_mode not in {'ACT_LAYER', 'MASTER_COLLECTION'}:
layout.prop(space, "use_sort_alpha")
layout.prop(space, "show_restrict_columns")
layout.separator()