Fix orientation marker bug

This commit is contained in:
Erik Ziegler 2016-11-17 10:56:54 +01:00
parent 5ee0513a5b
commit d48c8508f8

View File

@ -303,6 +303,10 @@ function loadDisplaySetIntoViewport(data, templateData) {
return;
}
// Update orientation markers in case new slices don't have the same orientation
// as the first slice
updateOrientationMarkers(element);
// If this viewport is displaying a stack of images, save the current image
// index in the stack to the global ViewerData object, as well as the Meteor Session.
const stack = cornerstoneTools.getToolState(element, 'stack');