Remove "handles" backwards compatibility

This commit is contained in:
Roy Nieterau 2023-03-29 23:57:35 +02:00
parent 2b540f1b2e
commit d958f989e0
20 changed files with 15 additions and 78 deletions

View file

@ -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,