Parcourir la source

Update babylon.animatable.ts

KK il y a 8 ans
Parent
commit
d1356638a6
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/Animations/babylon.animatable.ts

+ 0 - 2
src/Animations/babylon.animatable.ts

@@ -107,7 +107,6 @@
                 if (idx > -1) {
 
                     var animations = this._animations;
-                    var numberOfAnimationsStopped = 0;
                     
                     for (var index = animations.length - 1; index >= 0; index--) {
                         if (typeof animationName === "string" && animations[index].name != animationName) {
@@ -116,7 +115,6 @@
 
                         animations[index].reset();
                         animations.splice(index, 1);
-                        numberOfAnimationsStopped++;
                     }
 
                     if (animations.length == 0) {