Slicer: 2145-support-for-installing-extension-from-file 8338e2e5

Author Committer Branch Timestamp Parent
pieper pieper 2145-support-for-installing-extension-from-file 2013-07-08 08:59:57 2145-support-for-installing-extension-from-file 41f5c2c1
Affected Issues 0003014: mrb does not survive roundtrip
Changeset

BUG: 0003014 fix failing MRB condition where . was missing from extension

This is a follow on fix for r22143 to handle the case where the filename
already has the correct extension. Before this fix a situation
could arise where the filename would be something like ".nrrdnrrd" and
so it would fail to save. Now it is correctly saved as ".nrrd".

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

mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.cxx Diff File