@cornerstonejs/core 1.66.6 → 1.66.8

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": "@cornerstonejs/core",
3
- "version": "1.66.6",
3
+ "version": "1.66.8",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -47,5 +47,5 @@
47
47
  "type": "individual",
48
48
  "url": "https://ohif.org/donate"
49
49
  },
50
- "gitHead": "d60934ef8318bfae38a2e1665171540e41f9e1b4"
50
+ "gitHead": "049f609d8dc52cdd1cc984f9b3a408470e8375e5"
51
51
  }
@@ -1424,6 +1424,7 @@ class Viewport implements IViewport {
1424
1424
  const { viewPlaneNormal } = viewRef;
1425
1425
  const camera = this.getCamera();
1426
1426
  if (
1427
+ viewPlaneNormal &&
1427
1428
  !isEqual(viewPlaneNormal, camera.viewPlaneNormal) &&
1428
1429
  !isEqual(
1429
1430
  vec3.negate(camera.viewPlaneNormal, camera.viewPlaneNormal),