Import 2017-06-07 23:51:09: master 4b868a14

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-05-12 02:04:19 master d6a6309d
Affected Issues 0001770: Close scene breaks the View Controllers module
Changeset

BUG: Do not reset slice node "layout color" and "layout label". Fixes 0001770

Since layout color and layout label are both associated with layout name,
this commit ensures their values is not reset so that slice widgets are
properly updated after closing the scene.

This will ensure that:

  • ViewControllers widgets are not displayed in gray (default slice view
    color) if the scene is closed before opening the module.

  • LayoutLabel for Slice, ThreeD views is not cleared after closing the
    scene.

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

mod - Libs/MRML/Core/vtkMRMLAbstractViewNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLAbstractViewNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSliceNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSliceNode.h Diff File