fix(seg): prevent segmentations from spreading to all viewports before hydration confirmation in 3D four-up (#5967)
This commit is contained in:
1 parent
c9c4f11b82
commit
f8ccf9ff2e
23 files changed
+558
-39
No files matched your search
@@ -661,6 +661,12 @@ export default class HangingProtocolService extends PubSubService {
|
||||
if (displaySet?.unsupported) {
|
||||
throw new Error('Unsupported displaySet');
|
||||
}
|
||||
// Overlays (SEG, RTSTRUCT) share selectors with referenced volumes but must not
|
||||
// sync to every matched viewport before hydration (would replace e.g. 3D primary).
|
||||
if (displaySet?.isOverlayDisplaySet) {
|
||||
return defaultReturn;
|
||||
}
|
||||
|
||||
const protocol = this.protocol;
|
||||
const protocolStage = protocol.stages[this.stageIndex];
|
||||
const protocolViewports = protocolStage.viewports;
|
||||
|
||||
Reference in new issue
Block a user