Update add-ons after renaming master collection IDs to 'Scene Collection'.

This mostly affects default names in object collection manager add-on.
This commit is contained in:
Bastien Montagne 2021-07-06 17:26:06 +02:00
parent 6a2c441350
commit 735cdeec78
2 changed files with 4 additions and 4 deletions

View File

@ -3214,7 +3214,7 @@ def save(operator, context,
for scene in scenes:
if not scene.objects:
continue
# Needed to avoid having tens of 'Master Collection' entries.
# Needed to avoid having tens of 'Scene Collection' entries.
todo_collections = [(scene.collection, "_".join((scene.name, scene.collection.name)))]
while todo_collections:
coll, coll_name = todo_collections.pop()

View File

@ -165,7 +165,7 @@ class CollectionManager(Operator):
prop = c_icon.operator("view3d.set_active_collection",
text='', icon='GROUP', depress=highlight)
prop.is_master_collection = True
prop.collection_name = 'Master Collection'
prop.collection_name = 'Scene Collection'
master_collection_row.separator()
@ -226,7 +226,7 @@ class CollectionManager(Operator):
depress=some_selected,
)
prop.is_master_collection = True
prop.collection_name = 'Master Collection'
prop.collection_name = 'Scene Collection'
# global rtos
@ -278,7 +278,7 @@ class CollectionManager(Operator):
prop = row_setcol.operator("view3d.set_collection", text="",
icon=icon, emboss=False)
prop.is_master_collection = True
prop.collection_name = 'Master Collection'
prop.collection_name = 'Scene Collection'
# add vertical separator line
separator = row_setcol.row()