Browse Source

Quick Nit

sebavan 5 years ago
parent
commit
49a986cea7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      serializers/src/glTF/2.0/glTFAnimation.ts

+ 1 - 1
serializers/src/glTF/2.0/glTFAnimation.ts

@@ -243,7 +243,7 @@ export class _GLTFAnimation {
             if (morphTargetManager) {
                 for (let i = 0; i < morphTargetManager.numTargets; ++i) {
                     const morphTarget = morphTargetManager.getTarget(i);
-                    for (let animation of morphTarget.animations) {
+                    for (const animation of morphTarget.animations) {
                         const combinedAnimation = new Animation(`${animation.name}`,
                             "influence",
                             animation.framePerSecond,