@cornerstonejs/core 2.1.18 → 2.1.19

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.
@@ -166,7 +166,7 @@ class VolumeViewport extends BaseVolumeViewport {
166
166
  setCameraClippingRange() {
167
167
  const activeCamera = this.getVtkActiveCamera();
168
168
  if (activeCamera.getParallelProjection()) {
169
- activeCamera.setClippingRange(activeCamera.getDistance() - this.getSlabThickness(), activeCamera.getDistance() + this.getSlabThickness());
169
+ activeCamera.setClippingRange(-RENDERING_DEFAULTS.MAXIMUM_RAY_DISTANCE, RENDERING_DEFAULTS.MAXIMUM_RAY_DISTANCE);
170
170
  }
171
171
  else {
172
172
  activeCamera.setClippingRange(RENDERING_DEFAULTS.MINIMUM_SLAB_THICKNESS, RENDERING_DEFAULTS.MAXIMUM_RAY_DISTANCE);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "description": "",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -83,5 +83,5 @@
83
83
  "type": "individual",
84
84
  "url": "https://ohif.org/donate"
85
85
  },
86
- "gitHead": "e20cf17f217a6bfcc145bab57717d49ff339ee98"
86
+ "gitHead": "ed3bf870f465ac9d7768fd9cafcd593f132c344c"
87
87
  }