mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
added back pype 3 changes
This commit is contained in:
parent
edb868a64d
commit
a794398b23
1 changed files with 5 additions and 1 deletions
|
|
@ -227,12 +227,16 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin):
|
|||
component["stagingDir"] = component["stagingDir"]
|
||||
|
||||
if isinstance(component["files"], list):
|
||||
collections, remainder = clique.assemble(component["files"])
|
||||
collections, _remainder = clique.assemble(component["files"])
|
||||
self.log.debug("collecting sequence: {}".format(collections))
|
||||
instance.data["frameStart"] = int(component["frameStart"])
|
||||
instance.data["frameEnd"] = int(component["frameEnd"])
|
||||
instance.data["fps"] = int(component["fps"])
|
||||
|
||||
ext = component["ext"]
|
||||
if ext.startswith("."):
|
||||
component["ext"] = ext[1:]
|
||||
|
||||
if component["preview"]:
|
||||
instance.data["families"].append("review")
|
||||
instance.data["repreProfiles"] = ["h264"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue