mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix(global): if baked mov then do not integrate it if on farm
This commit is contained in:
parent
9de6b0407d
commit
4ddc5079da
1 changed files with 7 additions and 2 deletions
|
|
@ -309,7 +309,7 @@ class CollectRenderedFrames(pyblish.api.ContextPlugin):
|
|||
self.log.info(" - {}".format(str(collection)))
|
||||
|
||||
ext = collection.tail.lstrip(".")
|
||||
|
||||
|
||||
if "slate" in instance.data["families"]:
|
||||
frame_start += 1
|
||||
|
||||
|
|
@ -343,6 +343,11 @@ class CollectRenderedFrames(pyblish.api.ContextPlugin):
|
|||
if "slate" in instance.data["families"]:
|
||||
frame_start += 1
|
||||
|
||||
tags = ["review"]
|
||||
|
||||
if baked_mov_path:
|
||||
tags.append("delete")
|
||||
|
||||
representation = {
|
||||
"name": rem.split(".")[-1],
|
||||
"ext": "{}".format(rem.split(".")[-1]),
|
||||
|
|
@ -351,7 +356,7 @@ class CollectRenderedFrames(pyblish.api.ContextPlugin):
|
|||
"frameStart": frame_start,
|
||||
"anatomy_template": "render",
|
||||
"fps": fps,
|
||||
"tags": ["review"],
|
||||
"tags": tags
|
||||
}
|
||||
instance.data["representations"].append(
|
||||
representation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue