Partial Revert: Animation Track patch cleanup

This commit is contained in:
itdominator 2023-06-02 22:27:58 -05:00
parent 1ec4332576
commit d1d83d39af
1 changed files with 1 additions and 0 deletions

View File

@ -105,5 +105,6 @@ def extract_and_apply_anim(filename : str, scene : Scene):
fcurve_loc_y.keyframe_points.insert(i,t.y)
fcurve_loc_z.keyframe_points.insert(i,t.z)
arma.animation_data.action = action
track = arma.animation_data.nla_tracks.new()
track.strips.new(action.name, action.frame_range[0], action)