three-cad-viewer 2.2.3 → 2.2.4

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": "three-cad-viewer",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
package/src/_version.js CHANGED
@@ -1 +1 @@
1
- export const version = "2.2.3";
1
+ export const version = "2.2.4";
package/src/raycast.js CHANGED
@@ -146,6 +146,8 @@ class Raycaster {
146
146
  const objectGroup = object.object.parent;
147
147
  if (objectGroup == null) continue;
148
148
 
149
+ if (!objectGroup.shapeInfo) continue; // clipping plane
150
+
149
151
  const topo = objectGroup.shapeInfo.topo;
150
152
  let geom;
151
153
  if (topo !== "vertex")