mirror of
https://github.com/DarklightGames/io_scene_psk_psa.git
synced 2025-02-17 10:08:31 +01:00
Fix for accidental check-in of bugged animation code in previous commit
This commit is contained in:
parent
65833b57e8
commit
a42ebbd240
@ -70,6 +70,8 @@ class PsaBuilder(object):
|
||||
|
||||
psa.bones.append(psa_bone)
|
||||
|
||||
frame_start_index = 0
|
||||
|
||||
for action in options.actions:
|
||||
if len(action.fcurves) == 0:
|
||||
continue
|
||||
@ -82,7 +84,7 @@ class PsaBuilder(object):
|
||||
sequence = Psa.Sequence()
|
||||
sequence.name = bytes(action.name, encoding='utf-8')
|
||||
sequence.frame_count = frame_max - frame_min + 1
|
||||
sequence.frame_start_index = 0
|
||||
sequence.frame_start_index = frame_start_index
|
||||
sequence.fps = context.scene.render.fps
|
||||
|
||||
frame_count = frame_max - frame_min + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user