Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
a3921cb5e1
Modificáronse 1 ficheiros con 1 adicións e 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);