Adding a setting for cornerstone default image renderer
This commit is contained in:
1 parent
edd6ff862d
commit
df5cd20a78
7 files changed
+16
-9
No files matched your search
+1
-5
@@ -92,12 +92,8 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
|
||||
|
||||
// Enable Cornerstone for the viewport element
|
||||
const options = {
|
||||
renderer: 'webgl'
|
||||
renderer: OHIF.cornerstone.renderer
|
||||
};
|
||||
|
||||
// NOTE: This uses the experimental WebGL renderer for Cornerstone!
|
||||
// If you have problems, replace it with this line instead:
|
||||
// cornerstone.enable(element);
|
||||
cornerstone.enable(element, options);
|
||||
|
||||
// Get the handler functions that will run when loading has finished or thrown
|
||||
|
||||
Reference in new issue
Block a user