fix(segmentation): Changes to fix problems with non hydrated/loaded segmentations to be viewable when switching hanging protocols (e.g. MPR) (#5139)
This commit is contained in:
1 parent
9a81f8cef5
commit
c2624f116d
24 files changed
+199
-47
No files matched your search
@@ -48,7 +48,7 @@ export default function interleaveNthLoader({
|
||||
// iterate over all volumes, and get their imageIds, and interleave
|
||||
// the imageIds and save them in AllRequests for later use
|
||||
const originalRequests = volumes
|
||||
.map(volume => volume.getImageLoadRequests())
|
||||
.map(volume => volume.getImageLoadRequests?.() ?? [])
|
||||
.filter(requests => requests?.[0]?.imageId);
|
||||
|
||||
const orderedRequests = originalRequests.map(request => getNthFrames(request));
|
||||
|
||||
Reference in new issue
Block a user