From 735cdeec78f654e20e63841c25e077c931242cc1 Mon Sep 17 00:00:00 2001 From: Bastien Montagne <bastien@blender.org> Date: Tue, 6 Jul 2021 17:26:06 +0200 Subject: [PATCH] Update add-ons after renaming master collection IDs to 'Scene Collection'. This mostly affects default names in object collection manager add-on. --- io_scene_fbx/export_fbx_bin.py | 2 +- 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 65a5b8f14..bafdf1ef4 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 601b587a7..82f5f6e28 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() -- GitLab