AGallouin 8 yıl önce
ebeveyn
işleme
82a0634c19
2 değiştirilmiş dosya ile 922 ekleme ve 922 silme
  1. 919 919
      dist/preview release/babylon.d.ts
  2. 3 3
      src/Animations/babylon.animatable.ts

Dosya farkı çok büyük olduğundan ihmal edildi
+ 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();
+                    }
                 }
             }
         }