@cornerstonejs/core 3.32.6 → 3.32.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.
@@ -1122,7 +1122,8 @@ class BaseVolumeViewport extends Viewport {
1122
1122
  sliceIndex ??= currentIndex;
1123
1123
  const { viewPlaneNormal, focalPoint } = this.getCamera();
1124
1124
  const querySeparator = volumeId.includes('?') ? '&' : '?';
1125
- return `volumeId:${volumeId}${querySeparator}sliceIndex=${sliceIndex}&viewPlaneNormal=${viewPlaneNormal.join(',')}`;
1125
+ const formattedNormal = viewPlaneNormal.map((v) => v.toFixed(3)).join(',');
1126
+ return `volumeId:${volumeId}${querySeparator}sliceIndex=${sliceIndex}&viewPlaneNormal=${formattedNormal}`;
1126
1127
  }
1127
1128
  _addVolumeId(volumeId) {
1128
1129
  this.volumeIds.add(volumeId);
@@ -421,7 +421,6 @@ class Cache {
421
421
  sizeInBytes: 0,
422
422
  };
423
423
  this._imageCache.set(imageId, cachedImage);
424
- this._imageCache.set(imageId, cachedImage);
425
424
  return imageLoadObject.promise
426
425
  .then((image) => {
427
426
  try {
@@ -1 +1 @@
1
- export declare const version = "3.32.6";
1
+ export declare const version = "3.32.8";
@@ -1 +1 @@
1
- export const version = '3.32.6';
1
+ export const version = '3.32.8';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.32.6",
3
+ "version": "3.32.8",
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": "af40281b222938a78ea1db18d9dd1b85a975e99c"
100
+ "gitHead": "b5a354e7bc36ceb7519728585a46a3074340def5"
101
101
  }