fix(segmentation): Fix segmentationid undefined 5106 (#5107)
This commit is contained in:
parent
a7892c0d59
commit
f38805e6f1
@ -1888,6 +1888,9 @@ function commandsModule({
|
||||
const { segmentationService } = servicesManager.services;
|
||||
const { activeViewportId } = viewportGridService.getState();
|
||||
const activeSegmentation = segmentationService.getActiveSegmentation(activeViewportId);
|
||||
if (!activeSegmentation) {
|
||||
return;
|
||||
}
|
||||
segmentationService.addSegment(activeSegmentation.segmentationId);
|
||||
},
|
||||
loadSegmentationDisplaySetsForViewport: ({ viewportId, displaySetInstanceUIDs }) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user