fix(segmentation overlay): update viewport ds list upon seg delete - OHIF-2425 (#5729)

- add segmentationExists check to getSopClassHandlerModule
- now firing SEGMENTATION_REMOVED and SEGMENTATION_REPRESENTATION_REMOVED events
- centralized segmentation removal in a listener
- when a segmentation is deleted (completely), remove it from all viewports it overlays
- when a segmentation is removed from a viewport, remove it as overlay from the viewport

---------

Co-authored-by: Joe Boccanfuso <joe.boccanfuso@radicalimaging.com>
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-02-18 20:31:43 -05:00
1 parent c75cbc2a89
commit b35354120a
11 files changed
+174 -48

No files matched your search

@@ -1,11 +1,11 @@
---
sidebar_position: 1
sidebar_label: 3.11 -> 3.12 beta
sidebar_label: 3.11 -> 3.12
---
# Migration Guide
This guide provides information about migrating from OHIF version 3.11 to version 3.12 beta
This guide provides information about migrating from OHIF version 3.11 to version 3.12
## Optional: Migrate modes to extend `modes/basic`