Fix fusion Scalar click cause viewer double click bug.

This commit is contained in:
Krad
2022-08-11 14:11:43 +08:00
parent 0fae57ea62
commit a9e637a037

View File

@@ -94,9 +94,11 @@ void ActorDraggableInteractorStyle::OnLeftButtonDown() {
}
return;
}
if (!scalarProp){
this->InvokeEvent(DraggableStyleEvents::DoubleClickEvent, nullptr);
return;
}
}
if (measure) {
measure->SetPlacing(measure->onMeasureLeftButtonDown(this->Interactor));
if (this->State != VTKIS_MEASURE) this->StartMeasure();