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

+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);
}