Raanan Weber il y a 7 ans
Parent
commit
a3921cb5e1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);