Don't set vtk on viewport's layout; rely on viewportSpecificData
This commit is contained in:
1 parent
aa811dffe3
commit
32b420087b
4 files changed
+9
-10
No files matched your search
@@ -78,11 +78,11 @@ class OHIFCornerstoneViewport extends Component {
|
||||
}
|
||||
|
||||
if (!studyInstanceUid) {
|
||||
throw new Error('StudyInstanceUID not provided.')
|
||||
throw new Error('StudyInstanceUID not provided.');
|
||||
}
|
||||
|
||||
if (!displaySetInstanceUid) {
|
||||
throw new Error('StudyInstanceUID not provided.')
|
||||
throw new Error('StudyInstanceUID not provided.');
|
||||
}
|
||||
|
||||
// Create shortcut to displaySet
|
||||
@@ -125,7 +125,9 @@ class OHIFCornerstoneViewport extends Component {
|
||||
if (index > -1) {
|
||||
stack.currentImageIdIndex = index;
|
||||
} else {
|
||||
console.warn('SOPInstanceUID provided was not found in specified DisplaySet');
|
||||
console.warn(
|
||||
'SOPInstanceUID provided was not found in specified DisplaySet'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user