@archvisioninc/canvas 2.8.4 → 2.8.5

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.
@@ -52,6 +52,7 @@ export const initSceneObjects = () => {
52
52
  checkForRootNode();
53
53
  };
54
54
  const initHighlightManagers = () => {
55
+ if (props.integration?.meshHighlighting === false) return;
55
56
  highlightManager = newHighlightManager('selectHighlightManager');
56
57
  hoverHighlightManager = newHighlightManager('hoverHighlightManager');
57
58
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archvisioninc/canvas",
3
- "version": "2.8.4",
3
+ "version": "2.8.5",
4
4
  "private": false,
5
5
  "main": "dist/Canvas.js",
6
6
  "module": "dist/Canvas.js",
@@ -97,6 +97,8 @@ export const initSceneObjects = () => {
97
97
  };
98
98
 
99
99
  const initHighlightManagers = () => {
100
+ if (props.integration?.meshHighlighting === false) return;
101
+
100
102
  highlightManager = newHighlightManager('selectHighlightManager');
101
103
  hoverHighlightManager = newHighlightManager('hoverHighlightManager');
102
104
  };