Skip to content

Commit

Permalink
Merge pull request #59 from MicroscopeIT/fix-rotating-plate
Browse files Browse the repository at this point in the history
Fixed rotating plate while in scaling mode
  • Loading branch information
ellendil authored May 30, 2020
2 parents 85d9fc5 + 3966cfb commit 108ab3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ public bool PlateTransform {
plateTransform = value;
PlateTransformManipulatable.GetComponent<Collider>().enabled = plateTransform;
PlateTransformManipulatable.enabled = plateTransform;
PlateTransformManipulatable.ManipulationMode = plateTransform ? ManipulationMode.Rotate : ManipulationMode.MoveAndScale;
HoloUtilities.SetButtonState(ButtonPlateTransform, PlateTransform);
}
}
Expand Down

0 comments on commit 108ab3d

Please sign in to comment.