commontk/CTK — pull request #246 by pieper (2012-11-02 13:45:55+00:00)
Title: Clear image mapper input when RenderWindowItem is destroyed

Since the ImageActor is still in the renderer even after the
light box mode has changed, a paint event can lead to a Render
being called even though the input pipeline has already
been torn down. This can lead to the image being rendered
with null data in the vtkImageData, and then a crash as
described in http://na-mic.org/Bug/view.php?id=2512