AGallouin 8 年之前
父節點
當前提交
82a0634c19
共有 2 個文件被更改,包括 922 次插入922 次删除
  1. 919 919
      dist/preview release/babylon.d.ts
  2. 3 3
      src/Animations/babylon.animatable.ts

文件差異過大導致無法顯示
+ 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();
+                    }
                 }
             }
         }