mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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
|
||||
label = "Collect Frame Range"
|
||||
hosts = ['max']
|
||||
product_types = [
|
||||
"camera",
|
||||
"maxrender",
|
||||
"pointcache",
|
||||
"pointcloud",
|
||||
"review",
|
||||
"redshiftproxy"
|
||||
]
|
||||
families = ["camera", "maxrender",
|
||||
"pointcache", "pointcloud",
|
||||
"review", "redshiftproxy"]
|
||||
|
||||
def process(self, instance):
|
||||
if instance.data["productType"] == "maxrender":
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class CollectAnimationOutputGeometry(pyblish.api.InstancePlugin):
|
|||
"""
|
||||
|
||||
order = pyblish.api.CollectorOrder + 0.4
|
||||
product_types = ["animation"]
|
||||
families = ["animation"]
|
||||
label = "Collect Animation Output Geometry"
|
||||
hosts = ["maya"]
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class CollectBackdrops(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.CollectorOrder + 0.22
|
||||
label = "Collect Backdrop"
|
||||
hosts = ["nuke"]
|
||||
product_types = ["nukenodes"]
|
||||
families = ["nukenodes"]
|
||||
|
||||
def process(self, instance):
|
||||
self.log.debug(pformat(instance.data))
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class CollectGizmo(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.CollectorOrder + 0.22
|
||||
label = "Collect Gizmo (group)"
|
||||
hosts = ["nuke"]
|
||||
product_types = ["gizmo"]
|
||||
families = ["gizmo"]
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class ExtractWorkfile(publish.Extractor):
|
|||
|
||||
label = "Extract Workfile"
|
||||
order = pyblish.api.ExtractorOrder
|
||||
product_types = ["workfile"]
|
||||
families = ["workfile"]
|
||||
hosts = ["resolve"]
|
||||
|
||||
def process(self, instance):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue