ソースを参照

Fix glTF loader progress

Gary Hsu 7 年 前
コミット
b56e7d7423
1 ファイル変更0 行追加3 行削除
  1. 0 3
      loaders/src/glTF/2.0/babylon.glTFLoader.ts

+ 0 - 3
loaders/src/glTF/2.0/babylon.glTFLoader.ts

@@ -1620,9 +1620,6 @@ module BABYLON.GLTF2 {
             }) as IGLTFLoaderFileRequest;
 
             this._requests.push(request);
-            request.onCompleteObservable.add(() => {
-                this._requests.splice(this._requests.indexOf(request), 1);
-            });
         }
 
         public _tryCatchOnError(handler: () => void): void {