mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix publish plugin attributes back to 'families'
This commit is contained in:
parent
576817b8ea
commit
b80541064c
5 changed files with 7 additions and 12 deletions
|
|
@ -9,14 +9,9 @@ class CollectFrameRange(pyblish.api.InstancePlugin):
|
||||||
order = pyblish.api.CollectorOrder + 0.01
|
order = pyblish.api.CollectorOrder + 0.01
|
||||||
label = "Collect Frame Range"
|
label = "Collect Frame Range"
|
||||||
hosts = ['max']
|
hosts = ['max']
|
||||||
product_types = [
|
families = ["camera", "maxrender",
|
||||||
"camera",
|
"pointcache", "pointcloud",
|
||||||
"maxrender",
|
"review", "redshiftproxy"]
|
||||||
"pointcache",
|
|
||||||
"pointcloud",
|
|
||||||
"review",
|
|
||||||
"redshiftproxy"
|
|
||||||
]
|
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
if instance.data["productType"] == "maxrender":
|
if instance.data["productType"] == "maxrender":
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ class CollectAnimationOutputGeometry(pyblish.api.InstancePlugin):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
order = pyblish.api.CollectorOrder + 0.4
|
order = pyblish.api.CollectorOrder + 0.4
|
||||||
product_types = ["animation"]
|
families = ["animation"]
|
||||||
label = "Collect Animation Output Geometry"
|
label = "Collect Animation Output Geometry"
|
||||||
hosts = ["maya"]
|
hosts = ["maya"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class CollectBackdrops(pyblish.api.InstancePlugin):
|
||||||
order = pyblish.api.CollectorOrder + 0.22
|
order = pyblish.api.CollectorOrder + 0.22
|
||||||
label = "Collect Backdrop"
|
label = "Collect Backdrop"
|
||||||
hosts = ["nuke"]
|
hosts = ["nuke"]
|
||||||
product_types = ["nukenodes"]
|
families = ["nukenodes"]
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
self.log.debug(pformat(instance.data))
|
self.log.debug(pformat(instance.data))
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ class CollectGizmo(pyblish.api.InstancePlugin):
|
||||||
order = pyblish.api.CollectorOrder + 0.22
|
order = pyblish.api.CollectorOrder + 0.22
|
||||||
label = "Collect Gizmo (group)"
|
label = "Collect Gizmo (group)"
|
||||||
hosts = ["nuke"]
|
hosts = ["nuke"]
|
||||||
product_types = ["gizmo"]
|
families = ["gizmo"]
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class ExtractWorkfile(publish.Extractor):
|
||||||
|
|
||||||
label = "Extract Workfile"
|
label = "Extract Workfile"
|
||||||
order = pyblish.api.ExtractorOrder
|
order = pyblish.api.ExtractorOrder
|
||||||
product_types = ["workfile"]
|
families = ["workfile"]
|
||||||
hosts = ["resolve"]
|
hosts = ["resolve"]
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue