diff --git a/openpype/hosts/houdini/api/lib.py b/openpype/hosts/houdini/api/lib.py index 9e13c7d1b4..f19dc64992 100644 --- a/openpype/hosts/houdini/api/lib.py +++ b/openpype/hosts/houdini/api/lib.py @@ -484,8 +484,8 @@ def reset_framerange(): log.warning("No edit information found for %s" % asset_name) return - handle_start = asset_data.get("handleStart") - handle_end = asset_data.get("handleEnd") + handle_start = asset_data.get("handleStart", 0) + handle_end = asset_data.get("handleEnd", 0) frame_start -= int(handle_start) frame_end += int(handle_end) diff --git a/openpype/hosts/max/api/lib.py b/openpype/hosts/max/api/lib.py index afa8440d3a..ad9a450cad 100644 --- a/openpype/hosts/max/api/lib.py +++ b/openpype/hosts/max/api/lib.py @@ -213,8 +213,8 @@ def get_frame_range() -> dict: if frame_start is None or frame_end is None: return - handle_start = asset["data"].get("handleStart") - handle_end = asset["data"].get("handleEnd") + handle_start = asset["data"].get("handleStart", 0) + handle_end = asset["data"].get("handleEnd", 0) return { "frameStart": frame_start, "frameEnd": frame_end,