mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix(fusion): moving order
This commit is contained in:
parent
f09e48ac8c
commit
23ef625f81
1 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue