fix(fusion): moving order

This commit is contained in:
Jakub Jezek 2020-08-21 14:54:03 +02:00
parent f09e48ac8c
commit 23ef625f81
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -13,7 +13,7 @@ class Fusionlocal(pyblish.api.InstancePlugin):
""" """
order = pyblish.api.ExtractorOrder order = pyblish.api.ExtractorOrder - 0.1
label = "Render Local" label = "Render Local"
hosts = ["fusion"] hosts = ["fusion"]
families = ["render.local"] families = ["render.local"]
@ -52,10 +52,15 @@ class Fusionlocal(pyblish.api.InstancePlugin):
'frameStart': "%0{}d".format(len(str(frame_end))) % frame_start, 'frameStart': "%0{}d".format(len(str(frame_end))) % frame_start,
'files': collected_frames, 'files': collected_frames,
"stagingDir": output_dir, "stagingDir": output_dir,
"tags": ["review", "ftrackreview"]
} }
instance.data["representations"].append(repre) instance.data["representations"].append(repre)
# review representation
repre_preview = repre.copy()
repre_preview["name"] = repre_preview["ext"] = "mp4"
repre_preview["tags"] = ["review", "preview", "ftrackreview", "delete"]
instance.data["representations"].append(repre_preview)
self.log.debug(f"_ instance.data: {pformat(instance.data)}") self.log.debug(f"_ instance.data: {pformat(instance.data)}")
if not result: if not result: