@cornerstonejs/core 3.14.4 → 3.15.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.
@@ -126,7 +126,7 @@ class BaseVolumeViewport extends Viewport {
126
126
  acc.push(node.x, node.r, node.g, node.b);
127
127
  return acc;
128
128
  }, []);
129
- const matchedColormap = findMatchingColormap(RGBPoints, volumeActor);
129
+ const matchedColormap = findMatchingColormap(RGBPoints, volumeActor) || {};
130
130
  const threshold = getThresholdValue(volumeActor);
131
131
  const opacity = getMaxOpacity(volumeActor);
132
132
  matchedColormap.threshold = threshold;
@@ -1 +1 @@
1
- export declare const version = "3.14.4";
1
+ export declare const version = "3.15.1";
@@ -1 +1 @@
1
- export const version = '3.14.4';
1
+ export const version = '3.15.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.14.4",
3
+ "version": "3.15.1",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -97,5 +97,5 @@
97
97
  "type": "individual",
98
98
  "url": "https://ohif.org/donate"
99
99
  },
100
- "gitHead": "204d37a799efd185df7c2802674edaa2fa0057ee"
100
+ "gitHead": "9c040f73672238d4637d625ef88ceac28f1eea49"
101
101
  }