Browse Source

Fix sandbox for legacy browser compatibility

Gary Hsu 5 năm trước cách đây
mục cha
commit
d8000c9ddd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sandbox/index.js

+ 1 - 1
sandbox/index.js

@@ -135,7 +135,7 @@ if (BABYLON.Engine.isSupported()) {
 
         currentScene = babylonScene;
 
-        babylonScene.onAnimationFileImportedObservable.add((scene) => {
+        babylonScene.onAnimationFileImportedObservable.add(function (scene) {
             anyLoaded(scene, false);
         });