fix: various bugs with v33 re cine and colors (#3052)

* fix various bugs

* feat: initial work for debug page

* change throw to console error for color lookup table

* update packages

* apply review

* apply review comments
This commit is contained in:
Alireza authored and GitHub committed 2022-12-05 09:53:59 -05:00
1 parent 4c5d14c624
commit 42dca11ae3
13 files changed
+149 -51

No files matched your search

+3 -3
View File
@@ -43,9 +43,9 @@
},
"dependencies": {
"@babel/runtime": "7.17.9",
"@cornerstonejs/core": "^0.21.5",
"@cornerstonejs/streaming-image-volume-loader": "^0.6.5",
"@cornerstonejs/tools": "^0.29.8",
"@cornerstonejs/core": "^0.22.3",
"@cornerstonejs/streaming-image-volume-loader": "^0.6.11",
"@cornerstonejs/tools": "^0.30.6",
"@kitware/vtk.js": "25.9.0",
"html2canvas": "^1.4.1",
"lodash.debounce": "4.0.8",
+10
View File
@@ -70,6 +70,7 @@ export default async function init({
DisplaySetService,
UIDialogService,
UIModalService,
UINotificationService,
CineService,
CornerstoneViewportService,
HangingProtocolService,
@@ -79,6 +80,15 @@ export default async function init({
window.services = servicesManager.services;
if (!window.crossOriginIsolated) {
UINotificationService.show({
title: 'Cross Origin Isolation',
message:
'Cross Origin Isolation is not enabled, volume rendering will not work (e.g., MPR)',
type: 'warning',
});
}
if (cornerstone.getShouldUseCPURendering()) {
_showCPURenderingModal(UIModalService, HangingProtocolService);
}