created harmony specific creator using pype's mixin

This commit is contained in:
iLLiCiTiT 2021-02-26 15:59:03 +01:00
parent 112fe8ff51
commit b290059615
4 changed files with 12 additions and 4 deletions

View file

@ -0,0 +1,6 @@
from avalon import harmony
from pype.api import PypeCreatorMixin
class Creator(PypeCreatorMixin, harmony.Creator):
pass

View file

@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
"""Create Composite node for render on farm."""
from avalon import harmony
from pype.hosts.harmony.api import plugin
class CreateFarmRender(harmony.Creator):
class CreateFarmRender(plugin.Creator):
"""Composite node for publishing renders."""
name = "renderDefault"

View file

@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
"""Create render node."""
from avalon import harmony
from pype.hosts.harmony.api import plugin
class CreateRender(harmony.Creator):
class CreateRender(plugin.Creator):
"""Composite node for publishing renders."""
name = "renderDefault"

View file

@ -1,7 +1,7 @@
from avalon import harmony
from pype.hosts.harmony.api import plugin
class CreateTemplate(harmony.Creator):
class CreateTemplate(plugin.Creator):
"""Composite node for publishing to templates."""
name = "templateDefault"