Skip to content

Commit

Permalink
Default interpolation for animation is LINEAR
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduroure committed Jan 24, 2019
1 parent 77f780e commit 036fdf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def set_interpolation(interpolation, kf):
elif interpolation == "CUBICSPLINE":
kf.interpolation = 'BEZIER'
else:
kf.interpolation = 'BEZIER'
kf.interpolation = 'LINEAR'

@staticmethod
def parse_translation_channel(gltf, node, obj, bone, channel, animation):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def set_interpolation(interpolation, kf):
elif interpolation == "CUBICSPLINE":
kf.interpolation = 'BEZIER'
else:
kf.interpolation = 'BEZIER'
kf.interpolation = 'LINEAR'

@staticmethod
def anim(gltf, anim_idx, node_idx):
Expand Down

0 comments on commit 036fdf1

Please sign in to comment.