Switch from cornerstoneTools.metaData (deprecated) to cornerstone.metaData

This commit is contained in:
Erik Ziegler committed 2017-10-25 09:56:24 +02:00
1 parent c5596128c1
commit 05d9a41f45
20 files changed
+33 -33

No files matched your search

@@ -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);