@inweb/viewer-visualize 27.2.0 → 27.2.2

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.
@@ -2929,6 +2929,7 @@ class InfoComponent {
2929
2929
  this.viewer.info.optimizedScene.edges = 0;
2930
2930
  this.viewer.info.memory.geometries = 0;
2931
2931
  this.viewer.info.memory.geometryBytes = 0;
2932
+ this.viewer.info.memory.optimizedGeometryBytes = 0;
2932
2933
  this.viewer.info.memory.textures = 0;
2933
2934
  this.viewer.info.memory.textureBytes = 0;
2934
2935
  this.viewer.info.memory.materials = 0;
@@ -4446,6 +4447,7 @@ class Viewer extends EventEmitter2 {
4446
4447
  if (!this.visualizeJs)
4447
4448
  return;
4448
4449
  this._markup.clearOverlay();
4450
+ this.emitEvent({ type: "clearoverlay" });
4449
4451
  this.update();
4450
4452
  }
4451
4453
  clearSlices() {
@@ -4455,6 +4457,7 @@ class Viewer extends EventEmitter2 {
4455
4457
  const activeView = visViewer.activeView;
4456
4458
  activeView.removeCuttingPlanes();
4457
4459
  activeView.delete();
4460
+ this.emitEvent({ type: "clearslices" });
4458
4461
  this.update();
4459
4462
  }
4460
4463
  getSelected() {