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

View file

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

View file

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

View file

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

View file

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