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

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-11-20 23:50:33 master 76cc5930
Changeset

BUG: vtkThreeDViewInteractorStyle: Exit OnKeyPress if CameraNode null

In the vtkThreeDViewInteractorStyle, OnKeyPress did not check for
the cameraNode before applying transformations to the camera,
resulting in Slicer crashing if the InteractorStyle was changed
and reset to a vtkThreeDViewInteractorStyle.

Reviewed-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Alexis Girault <alexis.girault@kitware.com>

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

mod - Libs/MRML/DisplayableManager/vtkThreeDViewInteractorStyle.cxx Diff File