mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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
|
|
@ -19,6 +19,7 @@ class CreateRender(openpype.api.Creator):
|
|||
name = "renderDefault"
|
||||
label = "Render on Farm"
|
||||
family = "render"
|
||||
defaults = ["Main"]
|
||||
|
||||
def process(self):
|
||||
stub = get_stub() # only after After Effects is up
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ class CreateOpenEXRSaver(openpype.api.Creator):
|
|||
label = "Create OpenEXR Saver"
|
||||
hosts = ["fusion"]
|
||||
family = "render"
|
||||
defaults = ["Main"]
|
||||
|
||||
def process(self):
|
||||
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ from openpype.api import PypeCreatorMixin
|
|||
|
||||
|
||||
class Creator(PypeCreatorMixin, harmony.Creator):
|
||||
pass
|
||||
defaults = ["Main"]
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ class OpenPypeCreatorError(CreatorError):
|
|||
|
||||
|
||||
class Creator(PypeCreatorMixin, houdini.Creator):
|
||||
defaults = ['Main']
|
||||
|
||||
def process(self):
|
||||
try:
|
||||
# re-raise as standard Python exception so
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ def get_reference_node_parents(ref):
|
|||
|
||||
|
||||
class Creator(PypeCreatorMixin, avalon.maya.Creator):
|
||||
defaults = ['Main']
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ class CreateAnimation(plugin.Creator):
|
|||
label = "Animation"
|
||||
family = "animation"
|
||||
icon = "male"
|
||||
defaults = ['Main']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateAnimation, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ class CreateAss(plugin.Creator):
|
|||
label = "Ass StandIn"
|
||||
family = "ass"
|
||||
icon = "cube"
|
||||
defaults = ['Main']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateAss, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ class CreateAssembly(plugin.Creator):
|
|||
label = "Assembly"
|
||||
family = "assembly"
|
||||
icon = "cubes"
|
||||
defaults = ['Main']
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ class CreateCamera(plugin.Creator):
|
|||
label = "Camera"
|
||||
family = "camera"
|
||||
icon = "video-camera"
|
||||
defaults = ['Main']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateCamera, self).__init__(*args, **kwargs)
|
||||
|
|
@ -33,4 +32,3 @@ class CreateCameraRig(plugin.Creator):
|
|||
label = "Camera Rig"
|
||||
family = "camerarig"
|
||||
icon = "video-camera"
|
||||
defaults = ['Main']
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ class CreateLayout(plugin.Creator):
|
|||
label = "Layout"
|
||||
family = "layout"
|
||||
icon = "cubes"
|
||||
defaults = ["Main"]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ class CreateLook(plugin.Creator):
|
|||
label = "Look"
|
||||
family = "look"
|
||||
icon = "paint-brush"
|
||||
defaults = ['Main']
|
||||
make_tx = True
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ class CreateMayaScene(plugin.Creator):
|
|||
label = "Maya Scene"
|
||||
family = "mayaScene"
|
||||
icon = "file-archive-o"
|
||||
defaults = ['Main']
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ class CreatePointCache(plugin.Creator):
|
|||
label = "Point Cache"
|
||||
family = "pointcache"
|
||||
icon = "gears"
|
||||
defaults = ['Main']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreatePointCache, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ class CreateRender(plugin.Creator):
|
|||
label = "Render"
|
||||
family = "rendering"
|
||||
icon = "eye"
|
||||
defaults = ["Main"]
|
||||
|
||||
_token = None
|
||||
_user = None
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ class CreateReview(plugin.Creator):
|
|||
label = "Review"
|
||||
family = "review"
|
||||
icon = "video-camera"
|
||||
defaults = ['Main']
|
||||
keepImages = False
|
||||
isolate = False
|
||||
imagePlane = True
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ class CreateRig(plugin.Creator):
|
|||
label = "Rig"
|
||||
family = "rig"
|
||||
icon = "wheelchair"
|
||||
defaults = ['Main']
|
||||
|
||||
def process(self):
|
||||
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ class CreateXgen(plugin.Creator):
|
|||
label = "Xgen Interactive"
|
||||
family = "xgen"
|
||||
icon = "pagelines"
|
||||
defaults = ['Main']
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ class CreateYetiCache(plugin.Creator):
|
|||
label = "Yeti Cache"
|
||||
family = "yeticache"
|
||||
icon = "pagelines"
|
||||
defaults = ["Main"]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateYetiCache, self).__init__(*args, **kwargs)
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ class CreateYetiRig(plugin.Creator):
|
|||
label = "Yeti Rig"
|
||||
family = "yetiRig"
|
||||
icon = "usb"
|
||||
defaults = ["Main"]
|
||||
|
||||
def process(self):
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import openpype.api
|
|||
|
||||
class Creator(openpype.api.Creator):
|
||||
"""This serves as skeleton for future OpenPype specific functionality"""
|
||||
pass
|
||||
defaults = ['Main']
|
||||
|
||||
|
||||
class Loader(api.Loader):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue