From 274f21c6b41929453ab3f5b06a0cdff7bcdf9a60 Mon Sep 17 00:00:00 2001 From: Nick Alberelli Date: Mon, 5 Jun 2023 11:52:18 -0400 Subject: [PATCH] Blender Kitsu: Fix frame range calculation - Remove one frame from duration because the duration already includes the first frame --- scripts-blender/addons/blender_kitsu/props.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-blender/addons/blender_kitsu/props.py b/scripts-blender/addons/blender_kitsu/props.py index 66c4d7e0..7e9b1c3b 100644 --- a/scripts-blender/addons/blender_kitsu/props.py +++ b/scripts-blender/addons/blender_kitsu/props.py @@ -350,7 +350,7 @@ def _calc_kitsu_frame_end(self): But we need acess to seqeuence properties. """ frame_start = _calc_kitsu_frame_start(self) - frame_end_final = (frame_start + self.frame_final_duration) + frame_end_final = (frame_start + (self.frame_final_duration - 1)) return int(frame_end_final) -- 2.30.2