Browse Source

Fix inTangent in animationGroup

Fix this bug report here:
https://forum.babylonjs.com/t/animationgroup-bug/15150
David 4 years ago
parent
commit
d5c95fba54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Animations/animationGroup.ts

+ 1 - 1
src/Animations/animationGroup.ts

@@ -280,7 +280,7 @@ export class AnimationGroup implements IDisposable {
                 let newKey: IAnimationKey = {
                     frame: endFrame,
                     value: endKey.value,
-                    inTangent: endKey.outTangent,
+                    inTangent: endKey.inTangent,
                     outTangent: endKey.outTangent,
                     interpolation: endKey.interpolation
                 };