sebavan %!s(int64=5) %!d(string=hai) anos
pai
achega
49a986cea7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,