added Creator plugin for tvpaint and it's creator are using it

This commit is contained in:
iLLiCiTiT 2021-02-26 16:40:56 +01:00
parent c935958a13
commit bc2c2b4405
4 changed files with 12 additions and 3 deletions

View file

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

View file

@ -1,7 +1,8 @@
from avalon.tvpaint import pipeline, lib
from pype.hosts.tvpaint.api import plugin
class CreateRenderlayer(pipeline.Creator):
class CreateRenderlayer(plugin.Creator):
"""Mark layer group as one instance."""
name = "render_layer"
label = "RenderLayer"

View file

@ -1,7 +1,8 @@
from avalon.tvpaint import pipeline, lib
from pype.hosts.tvpaint.api import plugin
class CreateRenderPass(pipeline.Creator):
class CreateRenderPass(plugin.Creator):
"""Render pass is combination of one or more layers from same group.
Requirement to create Render Pass is to have already created beauty

View file

@ -1,7 +1,8 @@
from avalon.tvpaint import pipeline
from pype.hosts.tvpaint.api import plugin
class CreateReview(pipeline.Creator):
class CreateReview(plugin.Creator):
"""Review for global review of all layers."""
name = "review"
label = "Review"