Commit 022d847a authored by Committed by David GobbiBrowse files
BUG: InteractorStyleImage not getting image for Window/Level.
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