@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.
@@ -2647,6 +2647,7 @@
2647
2647
  function resetView(viewer) {
2648
2648
  if (!viewer.visualizeJs)
2649
2649
  return;
2650
+ const reset = viewer.getComponent("ResetComponent");
2650
2651
  viewer.executeCommand("setActiveDragger");
2651
2652
  viewer.executeCommand("clearSlices");
2652
2653
  viewer.executeCommand("clearOverlay");
@@ -2655,7 +2656,7 @@
2655
2656
  viewer.executeCommand("showAll");
2656
2657
  viewer.executeCommand("explode", 0);
2657
2658
  viewer.executeCommand("zoomToExtents", true);
2658
- viewer.executeCommand("k3DViewSW");
2659
+ reset.resetCameraPosition();
2659
2660
  viewer.emit({ type: "resetview" });
2660
2661
  }
2661
2662