mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Remove "handles" backwards compatibility
This commit is contained in:
parent
2b540f1b2e
commit
d958f989e0
20 changed files with 15 additions and 78 deletions
|
|
@ -215,13 +215,9 @@ def get_frame_range() -> dict:
|
|||
frame_end = asset["data"].get("edit_out")
|
||||
if frame_start is None or frame_end is None:
|
||||
return
|
||||
handles = asset["data"].get("handles") or 0
|
||||
|
||||
handle_start = asset["data"].get("handleStart")
|
||||
if handle_start is None:
|
||||
handle_start = handles
|
||||
handle_end = asset["data"].get("handleEnd")
|
||||
if handle_end is None:
|
||||
handle_end = handles
|
||||
return {
|
||||
"frameStart": frame_start,
|
||||
"frameEnd": frame_end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue