@cornerstonejs/tools 1.49.0 → 1.49.1

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/tools",
3
- "version": "1.49.0",
3
+ "version": "1.49.1",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
30
30
  },
31
31
  "dependencies": {
32
- "@cornerstonejs/core": "^1.49.0",
32
+ "@cornerstonejs/core": "^1.49.1",
33
33
  "comlink": "^4.4.1",
34
34
  "lodash.clonedeep": "4.5.0",
35
35
  "lodash.get": "^4.4.2"
@@ -53,5 +53,5 @@
53
53
  "type": "individual",
54
54
  "url": "https://ohif.org/donate"
55
55
  },
56
- "gitHead": "718c297a32f861b3ecc4500e0da07ba6ecf4d589"
56
+ "gitHead": "68c692e507ef36cdb64f77aa344d79bd04685cc9"
57
57
  }
@@ -785,7 +785,7 @@ class SplineROITool extends ContourSegmentationBaseTool {
785
785
  // Add an action to create a new spline data on creating an interpolated
786
786
  // instance.
787
787
  let postInterpolateAction;
788
- if (this.configuration.interpolation.enabled) {
788
+ if (this.configuration.interpolation?.enabled) {
789
789
  postInterpolateAction = (annotation) => {
790
790
  annotation.data.spline ||= createSpline();
791
791
  this.createInterpolatedSplineControl(annotation);