Switch from cornerstoneTools.metaData (deprecated) to cornerstone.metaData
This commit is contained in:
1 parent
c5596128c1
commit
05d9a41f45
20 files changed
+33
-33
No files matched your search
+1
-1
@@ -408,7 +408,7 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
|
||||
OHIF.viewer.data.loadedSeriesData = layoutManager.viewportData;
|
||||
|
||||
// Check if image plane (orientation / location) data is present for the current image
|
||||
const imagePlane = cornerstoneTools.metaData.get('imagePlane', image.imageId);
|
||||
const imagePlane = cornerstone.metaData.get('imagePlane', image.imageId);
|
||||
if (imagePlane && imagePlane.frameOfReferenceUID) {
|
||||
// If it is, add this element to the global synchronizer...
|
||||
OHIF.viewer.updateImageSynchronizer.add(element);
|
||||
|
||||
Reference in new issue
Block a user