Fix double load measure bug.
This commit is contained in:
@@ -255,8 +255,6 @@ void infinitiViewer::InstallPipeline() {
|
|||||||
this, &infinitiViewer::RemoveMeasures);
|
this, &infinitiViewer::RemoveMeasures);
|
||||||
this->InteractorStyle->AddObserver(ActorDraggableInteractorStyle::DraggableStyleEvents::SliceEvent, this,
|
this->InteractorStyle->AddObserver(ActorDraggableInteractorStyle::DraggableStyleEvents::SliceEvent, this,
|
||||||
&infinitiViewer::ChangeSlice);
|
&infinitiViewer::ChangeSlice);
|
||||||
this->InteractorStyle->AddObserver(ActorDraggableInteractorStyle::DraggableStyleEvents::SlicedEvent, this,
|
|
||||||
&infinitiViewer::LoadMeasures);
|
|
||||||
|
|
||||||
//for convert vtkEvent to Qt signal
|
//for convert vtkEvent to Qt signal
|
||||||
this->InteractorStyle->AddObserver(ActorDraggableInteractorStyle::DraggableStyleEvents::SlicedEvent, this,
|
this->InteractorStyle->AddObserver(ActorDraggableInteractorStyle::DraggableStyleEvents::SlicedEvent, this,
|
||||||
|
|||||||
Reference in New Issue
Block a user