mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
fix fps collection. this is temporary and needs to be unified to use the same variable across the board
This commit is contained in:
parent
bde928ebf6
commit
54809f3bf6
3 changed files with 6 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ class CollectFileSequences(pyblish.api.ContextPlugin):
|
|||
'ext': '{}'.format(ext),
|
||||
'files': list(collection),
|
||||
"stagingDir": root,
|
||||
"anatomy_template": "render"
|
||||
"anatomy_template": "render",
|
||||
"frameRate": fps
|
||||
}
|
||||
instance.data["representations"].append(representation)
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,9 @@ class ExtractQuicktimeEXR(pyblish.api.InstancePlugin):
|
|||
sub_proc = subprocess.Popen(subprocess_mov)
|
||||
sub_proc.wait()
|
||||
|
||||
if not os.path.isfile(full_output_path):
|
||||
raise("Quicktime wasn't created succesfully")
|
||||
|
||||
if "representations" not in instance.data:
|
||||
instance.data["representations"] = []
|
||||
|
||||
|
|
|
|||
|
|
@ -15,3 +15,4 @@ class CollectFramerate(pyblish.api.ContextPlugin):
|
|||
|
||||
def process(self, context):
|
||||
context.data["framerate"] = nuke.root()["fps"].getValue()
|
||||
context.data["fps"] = nuke.root()["fps"].getValue()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue