mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Handles can be non-existent, in which case they are 0.
This commit is contained in:
parent
5da5e12014
commit
2a174ef69d
1 changed files with 3 additions and 3 deletions
|
|
@ -94,9 +94,9 @@ class LoadSequence(api.Loader):
|
|||
|
||||
first = version_data.get("startFrame", None)
|
||||
last = version_data.get("endFrame", None)
|
||||
handles = version_data.get("handles", None)
|
||||
handle_start = version_data.get("handleStart", None)
|
||||
handle_end = version_data.get("handleEnd", None)
|
||||
handles = version_data.get("handles", 0)
|
||||
handle_start = version_data.get("handleStart", 0)
|
||||
handle_end = version_data.get("handleEnd", 0)
|
||||
|
||||
# fix handle start and end if none are available
|
||||
if not handle_start and not handle_end:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue