Raanan Weber hace 7 años
padre
commit
a3921cb5e1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);