Revert "OHIF-91: Fixed reference lines so they only show up in relation to the active viewport"
This reverts commit 5789e73996.
This commit is contained in:
parent
a581331b99
commit
314bdccaa9
@ -7731,14 +7731,6 @@ if (typeof cornerstoneTools === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
var activeViewportIndex = Session.get('activeViewport');
|
||||
var viewportIndex = $('.imageViewerViewport').index(referenceElement);
|
||||
|
||||
// Only show reference lines in relation to the active viewport
|
||||
if (viewportIndex != activeViewportIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
var targetImagePlane = cornerstoneTools.metaData.get('imagePlane', targetImage.imageId);
|
||||
var referenceImagePlane = cornerstoneTools.metaData.get('imagePlane', referenceImage.imageId);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user