diff options
author | Bastien Montagne <bastien@blender.org> | 2021-07-06 18:26:06 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-07-06 18:26:06 +0300 |
commit | 735cdeec78f654e20e63841c25e077c931242cc1 (patch) | |
tree | 288fd6ae39695cb2dd956924729ce58b13dbd9db | |
parent | 6a2c44135019377ae124a0b358c8539f64057c11 (diff) |
Update add-ons after renaming master collection IDs to 'Scene Collection'.
This mostly affects default names in object collection manager add-on.
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 2 | ||||
-rw-r--r-- | object_collection_manager/ui.py | 6 |
2 files changed, 4 insertions, 4 deletions
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() |