Slicer: 2145-support-for-installing-extension-from-file 3e967378

Author Committer Branch Timestamp Parent
naucoin naucoin 2145-support-for-installing-extension-from-file 2013-01-17 14:14:12 2145-support-for-installing-extension-from-file 1de1f3df
Affected Issues 0002851: DTI and baseline not produced when given mask
Changeset

BUG: fix a crash caused by an overlay file with unassigned labels.

When loading some FreeSurfer scalar overlay files, the reader
returns a warning that some labels were unassigned. This was being
treated as an error, but a valid node was being returned from the
Models logic instead of NULL, causing a crash in the IO file.
Fixed that issue then changed the response to that warning
to return valid nodes and color tables and that seemed to
fix the issue.

Issue 0002851

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

mod - Libs/MRML/Core/vtkMRMLFreeSurferModelOverlayStorageNode.cxx Diff File
mod - Modules/Loadable/Models/Logic/vtkSlicerModelsLogic.cxx Diff File