Import 2017-06-07 23:51:09: master 15b748b0

Author Committer Branch Timestamp Parent
lassoan lassoan master 2017-01-19 12:21:14 master 42630e64
Changeset

BUG: Fix ITK transform conversion crash

Lack of ITK dynamic_cast requires yet another workaround.

Problem: When a CLI returned a transform with dimension != 3 it made Slicer crash.
Solution: Verify transform dimension before static_cast (not just scalar type and transform type).

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

mod - Libs/MRML/Core/vtkITKTransformConverter.h Diff File