Import 2017-06-07 23:51:09: master ef7d83d3

Author Committer Branch Timestamp Parent
pieper pieper master 2017-05-30 17:56:45 master dac2a3d6
Affected Issues 0003776: CheckForLabelVolumeValidity compares float points and it says: IJKToRAS mismatch at [0, 3] (-89.6207 != -89.6207)
Changeset

BUG: 0003776 warning dialog gave useless/misleading information

The fuzzy compare of image geometry looks at the difference
between two values, but the printing of the warning set the
precision based on the whole number including the digits
left of the decimal point. The result was a message that showed
identical numbers and reported them as different (understandably
confusing).

https://www.na-mic.org/Bug/view.php?id=3776

From: Steve Pieper <pieper@isomics.com>

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

mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx Diff File