Default to "Main" subset name across all hosts

- 'testhost' is not refactored to default to "Main"
This commit is contained in:
Roy Nieterau 2022-02-02 10:25:33 +01:00
parent 6eece7ed6a
commit 4fb92b6fca
21 changed files with 9 additions and 17 deletions

View file

@ -131,6 +131,8 @@ def deselect_all():
class Creator(PypeCreatorMixin, avalon.api.Creator):
"""Base class for Creator plug-ins."""
defaults = ['Main']
def process(self):
collection = bpy.data.collections.new(name=self.data["subset"])
bpy.context.scene.collection.children.link(collection)