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