diff --git a/openpype/hosts/aftereffects/plugins/create/create_render.py b/openpype/hosts/aftereffects/plugins/create/create_render.py index 5fe72d4f53..8dfc85cdc8 100644 --- a/openpype/hosts/aftereffects/plugins/create/create_render.py +++ b/openpype/hosts/aftereffects/plugins/create/create_render.py @@ -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 diff --git a/openpype/hosts/blender/api/plugin.py b/openpype/hosts/blender/api/plugin.py index 1f0b142ef6..8c9ab9a27f 100644 --- a/openpype/hosts/blender/api/plugin.py +++ b/openpype/hosts/blender/api/plugin.py @@ -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) diff --git a/openpype/hosts/fusion/plugins/create/create_exr_saver.py b/openpype/hosts/fusion/plugins/create/create_exr_saver.py index 077e77c059..2990ce23b8 100644 --- a/openpype/hosts/fusion/plugins/create/create_exr_saver.py +++ b/openpype/hosts/fusion/plugins/create/create_exr_saver.py @@ -10,6 +10,7 @@ class CreateOpenEXRSaver(openpype.api.Creator): label = "Create OpenEXR Saver" hosts = ["fusion"] family = "render" + defaults = ["Main"] def process(self): diff --git a/openpype/hosts/harmony/api/plugin.py b/openpype/hosts/harmony/api/plugin.py index 726a742edc..d6d61a547a 100644 --- a/openpype/hosts/harmony/api/plugin.py +++ b/openpype/hosts/harmony/api/plugin.py @@ -12,6 +12,7 @@ class Creator(PypeCreatorMixin, avalon.api.Creator): created node. """ + defaults = ["Main"] node_type = "COMPOSITE" def setup_node(self, node): diff --git a/openpype/hosts/houdini/api/plugin.py b/openpype/hosts/houdini/api/plugin.py index e64b505d2c..4967d01d43 100644 --- a/openpype/hosts/houdini/api/plugin.py +++ b/openpype/hosts/houdini/api/plugin.py @@ -30,6 +30,7 @@ class Creator(PypeCreatorMixin, avalon.api.Creator): the node. """ + defaults = ['Main'] def __init__(self, *args, **kwargs): super(Creator, self).__init__(*args, **kwargs) diff --git a/openpype/hosts/maya/api/plugin.py b/openpype/hosts/maya/api/plugin.py index 64e910627d..0e384384c5 100644 --- a/openpype/hosts/maya/api/plugin.py +++ b/openpype/hosts/maya/api/plugin.py @@ -78,6 +78,8 @@ def get_reference_node_parents(ref): class Creator(PypeCreatorMixin, api.Creator): + defaults = ['Main'] + def process(self): nodes = list() diff --git a/openpype/hosts/maya/plugins/create/create_animation.py b/openpype/hosts/maya/plugins/create/create_animation.py index 7ce96166f7..11a668cfc8 100644 --- a/openpype/hosts/maya/plugins/create/create_animation.py +++ b/openpype/hosts/maya/plugins/create/create_animation.py @@ -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) diff --git a/openpype/hosts/maya/plugins/create/create_ass.py b/openpype/hosts/maya/plugins/create/create_ass.py index 7f1cb55821..39f226900a 100644 --- a/openpype/hosts/maya/plugins/create/create_ass.py +++ b/openpype/hosts/maya/plugins/create/create_ass.py @@ -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) diff --git a/openpype/hosts/maya/plugins/create/create_assembly.py b/openpype/hosts/maya/plugins/create/create_assembly.py index fa9d692792..ff5e1d45c4 100644 --- a/openpype/hosts/maya/plugins/create/create_assembly.py +++ b/openpype/hosts/maya/plugins/create/create_assembly.py @@ -8,4 +8,3 @@ class CreateAssembly(plugin.Creator): label = "Assembly" family = "assembly" icon = "cubes" - defaults = ['Main'] diff --git a/openpype/hosts/maya/plugins/create/create_camera.py b/openpype/hosts/maya/plugins/create/create_camera.py index 09f41914e4..8b2c881036 100644 --- a/openpype/hosts/maya/plugins/create/create_camera.py +++ b/openpype/hosts/maya/plugins/create/create_camera.py @@ -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'] diff --git a/openpype/hosts/maya/plugins/create/create_layout.py b/openpype/hosts/maya/plugins/create/create_layout.py index 8d825d23ba..6dc87430aa 100644 --- a/openpype/hosts/maya/plugins/create/create_layout.py +++ b/openpype/hosts/maya/plugins/create/create_layout.py @@ -8,4 +8,3 @@ class CreateLayout(plugin.Creator): label = "Layout" family = "layout" icon = "cubes" - defaults = ["Main"] diff --git a/openpype/hosts/maya/plugins/create/create_look.py b/openpype/hosts/maya/plugins/create/create_look.py index 36a3120a9a..56e2640919 100644 --- a/openpype/hosts/maya/plugins/create/create_look.py +++ b/openpype/hosts/maya/plugins/create/create_look.py @@ -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): diff --git a/openpype/hosts/maya/plugins/create/create_mayaascii.py b/openpype/hosts/maya/plugins/create/create_mayaascii.py index 8bbdf107c6..f54f2df812 100644 --- a/openpype/hosts/maya/plugins/create/create_mayaascii.py +++ b/openpype/hosts/maya/plugins/create/create_mayaascii.py @@ -8,4 +8,3 @@ class CreateMayaScene(plugin.Creator): label = "Maya Scene" family = "mayaScene" icon = "file-archive-o" - defaults = ['Main'] diff --git a/openpype/hosts/maya/plugins/create/create_pointcache.py b/openpype/hosts/maya/plugins/create/create_pointcache.py index d8e5fd43a7..ede152f1ef 100644 --- a/openpype/hosts/maya/plugins/create/create_pointcache.py +++ b/openpype/hosts/maya/plugins/create/create_pointcache.py @@ -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) diff --git a/openpype/hosts/maya/plugins/create/create_render.py b/openpype/hosts/maya/plugins/create/create_render.py index 6469a43201..97a190d57d 100644 --- a/openpype/hosts/maya/plugins/create/create_render.py +++ b/openpype/hosts/maya/plugins/create/create_render.py @@ -64,7 +64,6 @@ class CreateRender(plugin.Creator): label = "Render" family = "rendering" icon = "eye" - defaults = ["Main"] _token = None _user = None diff --git a/openpype/hosts/maya/plugins/create/create_review.py b/openpype/hosts/maya/plugins/create/create_review.py index ae636ec691..14a21d28ca 100644 --- a/openpype/hosts/maya/plugins/create/create_review.py +++ b/openpype/hosts/maya/plugins/create/create_review.py @@ -12,7 +12,6 @@ class CreateReview(plugin.Creator): label = "Review" family = "review" icon = "video-camera" - defaults = ['Main'] keepImages = False isolate = False imagePlane = True diff --git a/openpype/hosts/maya/plugins/create/create_rig.py b/openpype/hosts/maya/plugins/create/create_rig.py index ae1670961f..8032e5fbbd 100644 --- a/openpype/hosts/maya/plugins/create/create_rig.py +++ b/openpype/hosts/maya/plugins/create/create_rig.py @@ -13,7 +13,6 @@ class CreateRig(plugin.Creator): label = "Rig" family = "rig" icon = "wheelchair" - defaults = ['Main'] def process(self): diff --git a/openpype/hosts/maya/plugins/create/create_xgen.py b/openpype/hosts/maya/plugins/create/create_xgen.py index 3953972952..8672c06a1e 100644 --- a/openpype/hosts/maya/plugins/create/create_xgen.py +++ b/openpype/hosts/maya/plugins/create/create_xgen.py @@ -8,4 +8,3 @@ class CreateXgen(plugin.Creator): label = "Xgen Interactive" family = "xgen" icon = "pagelines" - defaults = ['Main'] diff --git a/openpype/hosts/maya/plugins/create/create_yeti_cache.py b/openpype/hosts/maya/plugins/create/create_yeti_cache.py index a37d8082db..86e13b95b2 100644 --- a/openpype/hosts/maya/plugins/create/create_yeti_cache.py +++ b/openpype/hosts/maya/plugins/create/create_yeti_cache.py @@ -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) diff --git a/openpype/hosts/maya/plugins/create/create_yeti_rig.py b/openpype/hosts/maya/plugins/create/create_yeti_rig.py index 2326958963..7abe2988cd 100644 --- a/openpype/hosts/maya/plugins/create/create_yeti_rig.py +++ b/openpype/hosts/maya/plugins/create/create_yeti_rig.py @@ -12,7 +12,6 @@ class CreateYetiRig(plugin.Creator): label = "Yeti Rig" family = "yetiRig" icon = "usb" - defaults = ["Main"] def process(self): diff --git a/openpype/hosts/unreal/api/plugin.py b/openpype/hosts/unreal/api/plugin.py index a69b12d6f5..5a6b236730 100644 --- a/openpype/hosts/unreal/api/plugin.py +++ b/openpype/hosts/unreal/api/plugin.py @@ -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):