[Bf-extensions-cvs] [735cdeec] master: Update add-ons after renaming master collection IDs to 'Scene Collection'.
Bastien Montagne
noreply at git.blender.org
Tue Jul 6 17:27:26 CEST 2021
Commit: 735cdeec78f654e20e63841c25e077c931242cc1
Author: Bastien Montagne
Date: Tue Jul 6 17:26:06 2021 +0200
Branches: master
https://developer.blender.org/rBA735cdeec78f654e20e63841c25e077c931242cc1
Update add-ons after renaming master collection IDs to 'Scene Collection'.
This mostly affects default names in object collection manager add-on.
===================================================================
M io_scene_fbx/export_fbx_bin.py
M object_collection_manager/ui.py
===================================================================
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index 65a5b8f1..bafdf1ef 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -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()
diff --git a/object_collection_manager/ui.py b/object_collection_manager/ui.py
index 601b587a..82f5f6e2 100644
--- a/object_collection_manager/ui.py
+++ b/object_collection_manager/ui.py
@@ -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()
More information about the Bf-extensions-cvs
mailing list