OnChar activation / deactivation of vtkImagePlaneWidget in JAVA broken
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I'm using JAVA-bindings of VTK and had the problem that after an update of VTK my ImagePlaneWidgets could not be (de)activated any more using the Interaction Keys. I tracked it down to the change from Version 1.14 to 1.15 of vtkImagePlaneWidget.cxx.
More specifically, the new method OnChar(), overwriting vtkInteractorObserver::OnChar(), seems to be at the heart of the problem. When I comment out the method, everything works fine.
I changed the lines 430 and 435 in the actual version 1.18, i.e. this->Interactor->GetInteractorStyle()->OnChar(); to vtkInteractorObserver::OnChar(); and everything works again.