Commit 85339053 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

ENH: Fixing typo so both the key and mouse commands are marked as passive observers.

parent 5bbf460b
......@@ -19,7 +19,7 @@
#include <vtksys/ios/sstream>
vtkCxxRevisionMacro(vtkInteractorEventRecorder, "1.13");
vtkCxxRevisionMacro(vtkInteractorEventRecorder, "1.14");
vtkStandardNewMacro(vtkInteractorEventRecorder);
float vtkInteractorEventRecorder::StreamVersion = 1.0;
......@@ -30,7 +30,7 @@ vtkInteractorEventRecorder::vtkInteractorEventRecorder()
//take over the processing of delete and keypress events from the superclass
this->KeyPressCallbackCommand->SetCallback(
vtkInteractorEventRecorder::ProcessCharEvent);
this->EventCallbackCommand->SetPassiveObserver(1); // get events first
this->KeyPressCallbackCommand->SetPassiveObserver(1); // get events first
this->EventCallbackCommand->SetCallback(
vtkInteractorEventRecorder::ProcessEvents);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment