@inweb/viewer-visualize 26.9.9 → 26.9.10
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-visualize.js
CHANGED
|
@@ -2622,6 +2622,7 @@
|
|
|
2622
2622
|
function resetView(viewer) {
|
|
2623
2623
|
if (!viewer.visualizeJs)
|
|
2624
2624
|
return;
|
|
2625
|
+
const reset = viewer.getComponent("ResetComponent");
|
|
2625
2626
|
viewer.executeCommand("setActiveDragger");
|
|
2626
2627
|
viewer.executeCommand("clearSlices");
|
|
2627
2628
|
viewer.executeCommand("clearOverlay");
|
|
@@ -2630,7 +2631,7 @@
|
|
|
2630
2631
|
viewer.executeCommand("showAll");
|
|
2631
2632
|
viewer.executeCommand("explode", 0);
|
|
2632
2633
|
viewer.executeCommand("zoomToExtents", true);
|
|
2633
|
-
|
|
2634
|
+
reset.resetCameraPosition();
|
|
2634
2635
|
viewer.emit({ type: "resetview" });
|
|
2635
2636
|
}
|
|
2636
2637
|
|
|
@@ -18113,7 +18114,7 @@
|
|
|
18113
18114
|
return this._markup;
|
|
18114
18115
|
}
|
|
18115
18116
|
configure(params) {
|
|
18116
|
-
this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/
|
|
18117
|
+
this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/26.9/Visualize.js";
|
|
18117
18118
|
this._crossOrigin = params.crossOrigin;
|
|
18118
18119
|
return this;
|
|
18119
18120
|
}
|