fix publish plugin attributes back to 'families'

This commit is contained in:
Jakub Trllo 2024-03-18 14:47:15 +01:00
parent 576817b8ea
commit b80541064c
5 changed files with 7 additions and 12 deletions

View file

@ -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":

View file

@ -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"]

View file

@ -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))

View file

@ -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):

View file

@ -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):