@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.
|
@@ -2136,6 +2136,7 @@ function regenerateAll(viewer) {
|
|
|
2136
2136
|
function resetView(viewer) {
|
|
2137
2137
|
if (!viewer.visualizeJs)
|
|
2138
2138
|
return;
|
|
2139
|
+
const reset = viewer.getComponent("ResetComponent");
|
|
2139
2140
|
viewer.executeCommand("setActiveDragger");
|
|
2140
2141
|
viewer.executeCommand("clearSlices");
|
|
2141
2142
|
viewer.executeCommand("clearOverlay");
|
|
@@ -2144,7 +2145,7 @@ function resetView(viewer) {
|
|
|
2144
2145
|
viewer.executeCommand("showAll");
|
|
2145
2146
|
viewer.executeCommand("explode", 0);
|
|
2146
2147
|
viewer.executeCommand("zoomToExtents", true);
|
|
2147
|
-
|
|
2148
|
+
reset.resetCameraPosition();
|
|
2148
2149
|
viewer.emit({ type: "resetview" });
|
|
2149
2150
|
}
|
|
2150
2151
|
|
|
@@ -3531,7 +3532,7 @@ class Viewer extends EventEmitter2 {
|
|
|
3531
3532
|
return this._markup;
|
|
3532
3533
|
}
|
|
3533
3534
|
configure(params) {
|
|
3534
|
-
this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/
|
|
3535
|
+
this._visualizeJsUrl = params.visualizeJsUrl || "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/26.9/Visualize.js";
|
|
3535
3536
|
this._crossOrigin = params.crossOrigin;
|
|
3536
3537
|
return this;
|
|
3537
3538
|
}
|