fix(interpolation): Auto accept interpolation when the interpolation process is completed. (#5555)

* Update Cornerstone3D packages to 4.9.1.
This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2025-11-11 08:19:45 -05:00
1 parent 79fab8d70d
commit 834ae3c762
18 files changed
+251 -228

No files matched your search

@@ -82,7 +82,8 @@ const EVENTS = {
// loading completed for all segments
SEGMENTATION_LOADING_COMPLETE: 'event::segmentation_loading_complete',
// fired when a contour annotation cut merge process is completed
ANNOTATION_CUT_MERGE_PROCESS_COMPLETED: 'event::annotation_cut_merge_process_completed',
SEGMENTATION_ANNOTATION_CUT_MERGE_PROCESS_COMPLETED:
'event::annotation_cut_merge_process_completed',
};
const VALUE_TYPES = {};
@@ -1696,13 +1697,6 @@ class SegmentationService extends PubSubService {
if (hideOthers) {
throw new Error('hideOthers is not working right now');
for (let i = 0; i < segments.length; i++) {
if (i !== segmentIndex) {
newSegmentSpecificConfig[i] = {
fillAlpha: 0,
};
}
}
}
const { fillAlpha } = this.getStyle({
@@ -1928,7 +1922,7 @@ class SegmentationService extends PubSubService {
private _onAnnotationCutMergeProcessCompletedFromSource = evt => {
const { segmentationId } = evt.detail;
this._broadcastEvent(this.EVENTS.ANNOTATION_CUT_MERGE_PROCESS_COMPLETED, {
this._broadcastEvent(this.EVENTS.SEGMENTATION_ANNOTATION_CUT_MERGE_PROCESS_COMPLETED, {
segmentationId,
});
};