Fix VTK update event handle bug.
This commit is contained in:
@@ -25,7 +25,9 @@
|
||||
|
||||
vtkStandardNewMacro(ActorDraggableInteractorStyle)
|
||||
|
||||
ActorDraggableInteractorStyle::ActorDraggableInteractorStyle() {
|
||||
ActorDraggableInteractorStyle::ActorDraggableInteractorStyle():vtkInteractorStyleImage()
|
||||
{
|
||||
HandleObservers = true;
|
||||
this->AddObserver(vtkCommand::InteractionEvent, this, &ActorDraggableInteractorStyle::DispatchEvent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user