mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Start/End frame can be floats. Enforce integer.
This commit is contained in:
parent
34df8bae3f
commit
5da5e12014
1 changed files with 4 additions and 4 deletions
|
|
@ -130,10 +130,10 @@ class LoadSequence(api.Loader):
|
|||
r["colorspace"].setValue(str(colorspace))
|
||||
|
||||
loader_shift(r, first, relative=True)
|
||||
r["origfirst"].setValue(first)
|
||||
r["first"].setValue(first)
|
||||
r["origlast"].setValue(last)
|
||||
r["last"].setValue(last)
|
||||
r["origfirst"].setValue(int(first))
|
||||
r["first"].setValue(int(first))
|
||||
r["origlast"].setValue(int(last))
|
||||
r["last"].setValue(int(last))
|
||||
|
||||
# add additional metadata from the version to imprint to Avalon knob
|
||||
add_keys = ["startFrame", "endFrame", "handles",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue