Skip to content

Commit

Permalink
Fixed rotating plate while in scaling mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Zdonek committed May 29, 2020
1 parent 85d9fc5 commit 3966cfb
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 3966cfb

Please sign in to comment.