mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Default to "Main" subset name across all hosts
- 'testhost' is not refactored to default to "Main"
This commit is contained in:
parent
6eece7ed6a
commit
4fb92b6fca
21 changed files with 9 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue