mirror of
https://github.com/DarklightGames/io_scene_psk_psa.git
synced 2024-11-28 00:20:48 +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:
parent
313dfcc97c
commit
6a94d1b862
@ -90,7 +90,7 @@ class PsaBuilder(object):
|
|||||||
frame_count = frame_max - frame_min + 1
|
frame_count = frame_max - frame_min + 1
|
||||||
|
|
||||||
for frame in range(frame_count):
|
for frame in range(frame_count):
|
||||||
context.scene.frame_set(frame)
|
context.scene.frame_set(frame_min + frame)
|
||||||
|
|
||||||
for bone in pose_bones:
|
for bone in pose_bones:
|
||||||
key = Psa.Key()
|
key = Psa.Key()
|
||||||
|
Loading…
Reference in New Issue
Block a user