Skip to content

Commit ab9a54f

Browse files
authored
Merge pull request #1614 from StephenHodgson/MRTK-Master_Clone
MRTK 2017.2.1.1 Patch Release
2 parents bce6505 + 5075ec3 commit ab9a54f

7 files changed

+10
-7
lines changed

Assets/HoloToolkit/Boundary/Scripts/BoundaryManager.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ public class BoundaryManager : Singleton<BoundaryManager>
3333
// This puts the origin (0, 0, 0) on the floor if a floor has been established during setup via MixedRealityPortal.
3434
private TrackingSpaceType opaqueTrackingSpaceType = TrackingSpaceType.RoomScale;
3535

36-
[SerializeField]
36+
// Removed for now, until the HoloLens tracking space type story is more clear.
37+
//[SerializeField]
3738
// Defaulting coordinate system to Stationary for transparent headsets, like HoloLens.
3839
// This puts the origin (0, 0, 0) at the first place where the user started the application.
39-
private TrackingSpaceType transparentTrackingSpaceType = TrackingSpaceType.Stationary;
40+
//private TrackingSpaceType transparentTrackingSpaceType = TrackingSpaceType.Stationary;
4041
#endif
4142

4243
// Testing in the editor found that this moved the floor out of the way enough, and it is only

Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerInfo.cs

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

44
using UnityEngine;
5+
#if UNITY_WSA
56
#if UNITY_2017_2_OR_NEWER
67
using UnityEngine.XR.WSA.Input;
78
#else
89
using UnityEngine.VR.WSA.Input;
910
#endif
11+
#endif
1012

1113
namespace HoloToolkit.Unity.InputModule
1214
{
@@ -18,7 +20,7 @@ public class MotionControllerInfo
1820
{
1921
public readonly GameObject ControllerParent;
2022

21-
#if UNITY_2017_2_OR_NEWER
23+
#if UNITY_WSA && UNITY_2017_2_OR_NEWER
2224
public readonly InteractionSourceHandedness Handedness;
2325
#endif
2426

@@ -67,13 +69,13 @@ public class MotionControllerInfo
6769
private double lastSelectPressedAmount;
6870

6971
public MotionControllerInfo(GameObject controllerParent
70-
#if UNITY_2017_2_OR_NEWER
72+
#if UNITY_WSA && UNITY_2017_2_OR_NEWER
7173
, InteractionSourceHandedness handedness
7274
#endif
7375
)
7476
{
7577
ControllerParent = controllerParent;
76-
#if UNITY_2017_2_OR_NEWER
78+
#if UNITY_WSA && UNITY_2017_2_OR_NEWER
7779
Handedness = handedness;
7880
#endif
7981
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ProjectSettings/ProjectSettings.asset

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ PlayerSettings:
127127
16:10: 1
128128
16:9: 1
129129
Others: 1
130-
bundleVersion: 2017.2.1.0
130+
bundleVersion: 2017.2.1.1
131131
preloadedAssets: []
132132
metroInputSource: 0
133133
m_HolographicPauseOnTrackingLoss: 0
@@ -619,7 +619,7 @@ PlayerSettings:
619619
m_RenderingPath: 1
620620
m_MobileRenderingPath: 1
621621
metroPackageName: MixedRealityToolkit-Unity
622-
metroPackageVersion: 2017.2.1.0
622+
metroPackageVersion: 2017.2.1.1
623623
metroCertificatePath: Assets/WSATestCertificate.pfx
624624
metroCertificatePassword:
625625
metroCertificateSubject: Microsoft

0 commit comments

Comments
 (0)