@cornerstonejs/core 1.70.6 → 1.70.7

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.70.6",
3
+ "version": "1.70.7",
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": "6358796a0031d69a9987ce089bbc27b8a3801dc1"
50
+ "gitHead": "4b6774d20ea66e2fa2815edc042b57565b816959"
51
51
  }
@@ -186,7 +186,10 @@ async function getVOIFromMinMax(
186
186
  let image = cache.getImage(imageId);
187
187
 
188
188
  if (!imageVolume.referencedImageIds?.length) {
189
- image = await loadAndCacheImage(imageId, options);
189
+ // we should ignore the cache here,
190
+ // since we want to load the image from with the most
191
+ // recent prescale settings
192
+ image = await loadAndCacheImage(imageId, { ...options, ignoreCache: true });
190
193
  }
191
194
 
192
195
  const imageScalarData = image