@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.
- package/dist/viewer-three.js +3 -1
- package/dist/viewer-three.js.map +1 -1
- package/dist/viewer-three.min.js +1 -1
- package/dist/viewer-three.module.js +10 -1
- package/dist/viewer-three.module.js.map +1 -1
- package/lib/Viewer/Viewer.d.ts +1 -1
- package/package.json +1 -1
- package/src/Viewer/Viewer.ts +5 -3
package/dist/viewer-three.js
CHANGED
|
@@ -42670,8 +42670,10 @@
|
|
|
42670
42670
|
this.syncOptions();
|
|
42671
42671
|
this.renderTime = performance.now();
|
|
42672
42672
|
this.render(this.renderTime);
|
|
42673
|
-
if (
|
|
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() {
|