1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-24 06:50:13 +01:00

Fixed a bug where animations would be exported incorrectly if the first key frame of an action wasn't at frame zero

This commit is contained in:
Colin Basnett 2021-09-06 23:35:49 -07:00
parent 313dfcc97c
commit 6a94d1b862

View File

@ -90,7 +90,7 @@ class PsaBuilder(object):
frame_count = frame_max - frame_min + 1
for frame in range(frame_count):
context.scene.frame_set(frame)
context.scene.frame_set(frame_min + frame)
for bone in pose_bones:
key = Psa.Key()