From 69647323e4d5bd6cf4b89122d0aed92f40934a85 Mon Sep 17 00:00:00 2001 From: Coreforge Date: Thu, 24 Mar 2022 17:57:06 +0100 Subject: [PATCH] Fix Python 3.10 Cast Issue --- import_seanim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import_seanim.py b/import_seanim.py index 5761a4e..346ff8e 100644 --- a/import_seanim.py +++ b/import_seanim.py @@ -118,7 +118,7 @@ def load_seanim(self, context, progress, filepath=""): ob.animation_data.action.use_fake_user = True scene = bpy.context.scene - scene.render.fps = anim.header.framerate + scene.render.fps = int(anim.header.framerate) scene.frame_start = 0 # bpy.context.scene.frame_current scene.frame_end = scene.frame_start + anim.header.frameCount - 1