@inweb/viewer-visualize 26.10.0 → 26.10.1

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.
@@ -2161,6 +2161,7 @@ function regenerateAll(viewer) {
2161
2161
  function resetView(viewer) {
2162
2162
  if (!viewer.visualizeJs)
2163
2163
  return;
2164
+ const reset = viewer.getComponent("ResetComponent");
2164
2165
  viewer.executeCommand("setActiveDragger");
2165
2166
  viewer.executeCommand("clearSlices");
2166
2167
  viewer.executeCommand("clearOverlay");
@@ -2169,7 +2170,7 @@ function resetView(viewer) {
2169
2170
  viewer.executeCommand("showAll");
2170
2171
  viewer.executeCommand("explode", 0);
2171
2172
  viewer.executeCommand("zoomToExtents", true);
2172
- viewer.executeCommand("k3DViewSW");
2173
+ reset.resetCameraPosition();
2173
2174
  viewer.emit({ type: "resetview" });
2174
2175
  }
2175
2176