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:
@@ -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()
|
||||
|
@@ -2111,8 +2111,8 @@ static void rna_def_space_outliner(BlenderRNA *brna)
|
||||
{SO_ID_ORPHANS, "ORPHAN_DATA", 0, "Orphan Data",
|
||||
"Display data-blocks which are unused and/or will be lost when the file is reloaded"},
|
||||
{SO_ACT_LAYER, "ACT_LAYER", 0, "Active Render Layer", "Display the collections of the active render layer"},
|
||||
{SO_COLLECTIONS, "COLLECTIONS", 0, "All Collections", "Display all collections based on the master "
|
||||
"collection hierarchy"},
|
||||
{SO_COLLECTIONS, "MASTER_COLLECTION", 0, "Master Collection Tree", "Display all collections based on the "
|
||||
"master collection hierarchy"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user