sebavan 5 gadi atpakaļ
vecāks
revīzija
49a986cea7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,