Skip to content

Commit 3a572d5

Browse files
committed
Use local field instead of a new one (fixes a warning)
1 parent 3abc783 commit 3a572d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit/Providers/UnityInput/MouseController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void Update()
9292
if (Interactions[i].InputType == DeviceInputType.SpatialPointer)
9393
{
9494
// Spatial pointer raises Pose events
95-
MixedRealityPose controllerPose = MixedRealityPose.ZeroIdentity;
95+
controllerPose = MixedRealityPose.ZeroIdentity;
9696
controllerPose.Rotation = Quaternion.Euler(mouseDelta);
9797
Interactions[i].PoseData = controllerPose;
9898

0 commit comments

Comments
 (0)