AGallouin hace 8 años
padre
commit
82a0634c19
Se han modificado 2 ficheros con 922 adiciones y 922 borrados
  1. 919 919
      dist/preview release/babylon.d.ts
  2. 3 3
      src/Animations/babylon.animatable.ts

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 919 - 919
dist/preview release/babylon.d.ts


+ 3 - 3
src/Animations/babylon.animatable.ts

@@ -107,10 +107,10 @@
 
                 if (animations.length == numberOfAnimationsStopped) {
                     this._scene._activeAnimatables.splice(index, 1);
-                }
 
-                if (this.onAnimationEnd) {
-                    this.onAnimationEnd();
+                    if (this.onAnimationEnd) {
+                        this.onAnimationEnd();
+                    }
                 }
             }
         }