소스 검색

Merge pull request #5510 from bghgary/bug-fix

Add back support for passing in a File object to sceneLoader
David Catuhe 6 년 전
부모
커밋
9914e2b8ba
2개의 변경된 파일34개의 추가작업 그리고 18개의 파일을 삭제
  1. 33 17
      src/Loading/babylon.sceneLoader.ts
  2. 1 1
      src/Tools/babylon.filesInput.ts

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 33 - 17
src/Loading/babylon.sceneLoader.ts


+ 1 - 1
src/Tools/babylon.filesInput.ts

@@ -258,7 +258,7 @@ module BABYLON {
                     this._engine.stopRenderLoop();
                 }
 
-                SceneLoader.LoadAsync("file:", this._sceneFileToLoad.name, this._engine, (progress) => {
+                SceneLoader.LoadAsync("file:", this._sceneFileToLoad, this._engine, (progress) => {
                     if (this._progressCallback) {
                         this._progressCallback(progress);
                     }