feat(measurementService): use the new api for annotation manager in cs3d (#3206)
* fix OHIF to use the new api for annotation manager in cs3d * bump package versions * fix tests * remove unnecessary code
This commit is contained in:
1 parent
35d0787211
commit
38d452e17d
12 files changed
+40
-43
No files matched your search
@@ -366,7 +366,7 @@ const connectMeasurementServiceToTools = (
|
||||
imageId = dataSource.getImageIdsForInstance({ instance });
|
||||
}
|
||||
|
||||
const annotationManager = annotation.state.getDefaultAnnotationManager();
|
||||
const annotationManager = annotation.state.getAnnotationManager();
|
||||
annotationManager.addAnnotation({
|
||||
annotationUID: measurement.uid,
|
||||
highlighted: false,
|
||||
|
||||
Reference in new issue
Block a user