Skip to content

Commit fa0e3fa

Browse files
Rename mode
Rename mode to oldMode for symmetry with newMode.
1 parent 4187246 commit fa0e3fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MixedRealityToolkit.SDK/Experimental/Features/Utilities/Migration/ObjectManipulatorMigrationHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ public void Migrate(GameObject gameObject)
109109
Object.DestroyImmediate(manipHandler);
110110
}
111111

112-
private void MigrateOneHandRotationModes(ref ObjectManipulator objManip, ManipulationHandler.RotateInOneHandType mode, ManipulationProximityFlags proximity)
112+
private void MigrateOneHandRotationModes(ref ObjectManipulator objManip, ManipulationHandler.RotateInOneHandType oldMode, ManipulationProximityFlags proximity)
113113
{
114114
ObjectManipulator.RotateInOneHandType newMode = ObjectManipulator.RotateInOneHandType.RotateAboutGrabPoint;
115115

116-
switch (mode)
116+
switch (oldMode)
117117
{
118118
case ManipulationHandler.RotateInOneHandType.MaintainRotationToUser:
119119
{

0 commit comments

Comments
 (0)