@inweb/viewer-three 25.3.22 → 25.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42670,8 +42670,10 @@
42670
42670
  this.syncOptions();
42671
42671
  this.renderTime = performance.now();
42672
42672
  this.render(this.renderTime);
42673
- if (typeof onProgress === "function")
42673
+ if (onProgress)
42674
42674
  onProgress(new ProgressEvent("progress", { lengthComputable: true, loaded: 1, total: 1 }));
42675
+ this.emitEvent({ type: "initializeprogress", data: 1, loaded: 1, total: 1 });
42676
+ this.emitEvent({ type: "initialize" });
42675
42677
  return Promise.resolve(this);
42676
42678
  }
42677
42679
  dispose() {