소스 검색

Merge pull request #8002 from bghgary/sandbox-fix

Fix sandbox for legacy browser compatibility
David Catuhe 5 년 전
부모
커밋
8ab9a203d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
         });