#17: Convert frame time from float to int

This commit is contained in:
Christoph Zorn 2024-05-04 10:09:17 +02:00
parent daacdf1a5d
commit 336870ecb5

View File

@ -67,7 +67,7 @@ def extract_anim(armature: bpy.types.Armature, root_name: str) -> Animation:
for frame in range(num_frames): for frame in range(num_frames):
frame_time = framerange.x + frame * increment frame_time = int(framerange.x + frame * increment)
bpy.context.scene.frame_set(frame_time) bpy.context.scene.frame_set(frame_time)
for keyable_bone in keyable_bones: for keyable_bone in keyable_bones: