@inweb/viewer-visualize 27.2.1 → 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.
|
@@ -4447,6 +4447,7 @@ class Viewer extends EventEmitter2 {
|
|
|
4447
4447
|
if (!this.visualizeJs)
|
|
4448
4448
|
return;
|
|
4449
4449
|
this._markup.clearOverlay();
|
|
4450
|
+
this.emitEvent({ type: "clearoverlay" });
|
|
4450
4451
|
this.update();
|
|
4451
4452
|
}
|
|
4452
4453
|
clearSlices() {
|
|
@@ -4456,6 +4457,7 @@ class Viewer extends EventEmitter2 {
|
|
|
4456
4457
|
const activeView = visViewer.activeView;
|
|
4457
4458
|
activeView.removeCuttingPlanes();
|
|
4458
4459
|
activeView.delete();
|
|
4460
|
+
this.emitEvent({ type: "clearslices" });
|
|
4459
4461
|
this.update();
|
|
4460
4462
|
}
|
|
4461
4463
|
getSelected() {
|