Remove edit_in and edit_out backwards compatibility

This commit is contained in:
Roy Nieterau 2023-03-29 23:58:36 +02:00
parent d958f989e0
commit 227b5620fb
3 changed files with 1 additions and 12 deletions

View file

@ -209,10 +209,7 @@ def get_frame_range() -> dict:
asset = get_current_project_asset()
frame_start = asset["data"].get("frameStart")
frame_end = asset["data"].get("frameEnd")
# Backwards compatibility
if frame_start is None or frame_end is None:
frame_start = asset["data"].get("edit_in")
frame_end = asset["data"].get("edit_out")
if frame_start is None or frame_end is None:
return