fix: prevent black viewport when navigating series with client-created segmentation (#5919)
This commit is contained in:
1 parent
efac34dfe5
commit
e66fb5a2b8
2 files changed
+44
-4
No files matched your search
@@ -734,10 +734,11 @@ const commandsModule = ({
|
||||
displaySetIndexToShow > -1 && displaySetIndexToShow < currentDisplaySets.length;
|
||||
displaySetIndexToShow += direction
|
||||
) {
|
||||
if (
|
||||
!excludeNonImageModalities ||
|
||||
!nonImageModalities.includes(currentDisplaySets[displaySetIndexToShow].Modality)
|
||||
) {
|
||||
const nextDisplaySet = currentDisplaySets[displaySetIndexToShow];
|
||||
if (nextDisplaySet.madeInClient) {
|
||||
continue;
|
||||
}
|
||||
if (!excludeNonImageModalities || !nonImageModalities.includes(nextDisplaySet.Modality)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user