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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user