Skip to content
  • David Adair's avatar
    BUG: InteractorStyleImage not getting image for Window/Level. · 022d847a
    David Adair authored and David Gobbi's avatar David Gobbi committed
    If an observer has not been set for the StartWindowLevelEvent, then
    the vtkInteractorStyleImage is supposed to automatically locate the
    last vtkImageActor or vtkImageSlice that was added to the renderer,
    and apply the window/level to that actor.  However, there was a bug
    where if a non-image actor was added to the renderer after the image
    actor, the image actor would not be found.  This patch fixes that bug.
    
    Change-Id: I8c6aaa4e14e712f5ea94c24b38620a00e6bb0d73
    022d847a