Import 2017-06-07 23:51:09: master 56143a00

Author Committer Branch Timestamp Parent
lassoan lassoan master 2016-05-16 15:17:48 master 90211eb3
Changeset

BUG: Fixed orientation reset of reformatted hot-linked slices

Problem: When slices were hot-linked, slices that had "Reformat" orientation string were kept being reformatted to the same position, orientation, and spacing when the user manipulated any of the views.

Root cause: The issue was that instead of checking the actual slice orientation, only orientation string was compared. Orientation string is "Reformat" for all orientations except axial, sagittal, and coronal.

Solution: Compare actual slice orientation (slice position, panning, and zoom are ignored) to decide if position, orientation, spacing, field-of-view of two slices has to be synchronized.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25066 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Logic/vtkMRMLSliceLinkLogic.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLSliceLinkLogic.h Diff File