ソースを参照

Merge pull request #3585 from bghgary/fix-loader-progress

Fix glTF loader progress
David Catuhe 7 年 前
コミット
6da995e167
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 {