@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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/viewer-visualize",
|
|
3
|
-
"version": "27.2.
|
|
3
|
+
"version": "27.2.2",
|
|
4
4
|
"description": "JavaScript library for rendering CAD and BIM files in a browser using VisualizeJS",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"docs": "typedoc"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@inweb/client": "~27.2.
|
|
33
|
-
"@inweb/eventemitter2": "~27.2.
|
|
34
|
-
"@inweb/markup": "~27.2.
|
|
35
|
-
"@inweb/viewer-core": "~27.2.
|
|
32
|
+
"@inweb/client": "~27.2.2",
|
|
33
|
+
"@inweb/eventemitter2": "~27.2.2",
|
|
34
|
+
"@inweb/markup": "~27.2.2",
|
|
35
|
+
"@inweb/viewer-core": "~27.2.2"
|
|
36
36
|
},
|
|
37
37
|
"visualizeJS": "https://public-fhemb7e3embacwec.z02.azurefd.net/libs/visualizejs/master/Visualize.js"
|
|
38
38
|
}
|
package/src/Viewer/Viewer.ts
CHANGED
|
@@ -801,6 +801,8 @@ export class Viewer
|
|
|
801
801
|
if (!this.visualizeJs) return;
|
|
802
802
|
|
|
803
803
|
this._markup.clearOverlay();
|
|
804
|
+
|
|
805
|
+
this.emitEvent({ type: "clearoverlay" });
|
|
804
806
|
this.update();
|
|
805
807
|
}
|
|
806
808
|
|
|
@@ -812,6 +814,7 @@ export class Viewer
|
|
|
812
814
|
activeView.removeCuttingPlanes();
|
|
813
815
|
activeView.delete();
|
|
814
816
|
|
|
817
|
+
this.emitEvent({ type: "clearslices" });
|
|
815
818
|
this.update();
|
|
816
819
|
}
|
|
817
820
|
|