소스 검색

small fix

Raanan Weber 7 년 전
부모
커밋
a3921cb5e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Viewer/src/viewer/viewer.ts

+ 1 - 0
Viewer/src/viewer/viewer.ts

@@ -758,6 +758,7 @@ export abstract class AbstractViewer {
         if (this.isLoading) {
             //another model is being model. Wait for it to finish, trigger the load afterwards
             this.nextLoading = () => {
+                delete this.nextLoading;
                 this.loadModel(model, clearScene);
             }
             return Promise.resolve(this.scene);