From dd64953876a32df9845130b05dd2cf13fa4e105b Mon Sep 17 00:00:00 2001 From: Krad Date: Fri, 28 Oct 2022 13:55:10 +0800 Subject: [PATCH] Fix initial InteractionMode for VolumeInteractorStyle. --- src/src/Interaction/VolumeInteractorStyle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/src/Interaction/VolumeInteractorStyle.cpp b/src/src/Interaction/VolumeInteractorStyle.cpp index efde306..4ea3237 100644 --- a/src/src/Interaction/VolumeInteractorStyle.cpp +++ b/src/src/Interaction/VolumeInteractorStyle.cpp @@ -18,7 +18,9 @@ vtkStandardNewMacro(VolumeInteractorStyle) -VolumeInteractorStyle::VolumeInteractorStyle() { +VolumeInteractorStyle::VolumeInteractorStyle():vtkInteractorStyleTrackballCamera() +,InteractionMode(VOLUME_ROTATE3D) +{ }