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:
parent
6a2c441350
commit
735cdeec78
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue