Skip to content

Commit f86f42d

Browse files
Merge pull request #1081 from keveleigh/MergingMaster
Merging master into Dev branch
2 parents eca43b6 + ff8c520 commit f86f42d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Assets/HoloToolkit/Sharing/Scripts/Utilities/ManualIpConfiguration.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ public class ManualIpConfiguration : MonoBehaviour
1212
{
1313
/// <summary>
1414
/// The maximum length of characters in a IPv4 address.
15+
/// <remarks>000.000.000.000</remarks>
1516
/// </summary>
16-
private const int MaximumCharacterLength = 12;
17+
private const int MaximumCharacterLength = 15;
1718

1819
public string IpAddress { get { return ipAddress.text; } }
1920

Assets/HoloToolkit/Utilities/Scripts/WorldAnchorManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private void Anchor_OnTrackingChanged(WorldAnchor anchor, bool located)
178178
/// If no anchor name is provided, the name of the anchor will be the same as the GameObject.
179179
/// </summary>
180180
/// <param name="gameObjectToAnchor">The GameObject to attach the anchor to.</param>
181-
/// <param name="anchorName">Name of the anchor. If none provided a GUID is generated for you.</param>
181+
/// <param name="anchorName">Name of the anchor. If none provided, the name of the GameObject will be used.</param>
182182
/// <returns>The name of the newly attached anchor.</returns>
183183
public string AttachAnchor(GameObject gameObjectToAnchor, string anchorName = null)
184184
{
@@ -198,7 +198,7 @@ public string AttachAnchor(GameObject gameObjectToAnchor, string anchorName = nu
198198
Debug.LogWarning("[WorldAnchorManager] AttachAnchor called before anchor store is ready.");
199199
}
200200

201-
anchorName = string.IsNullOrEmpty(anchorName) ? anchorName : gameObjectToAnchor.name;
201+
anchorName = string.IsNullOrEmpty(anchorName) ? gameObjectToAnchor.name : anchorName;
202202

203203
LocalAnchorOperations.Enqueue(
204204
new AnchorAttachmentInfo

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ PlayerSettings:
590590
additionalIl2CppArgs:
591591
scriptingRuntimeVersion: 0
592592
apiCompatibilityLevelPerPlatform:
593-
Metro: 1
593+
Metro: 3
594594
m_RenderingPath: 1
595595
m_MobileRenderingPath: 1
596596
metroPackageName: MixedRealityToolkit-Unity

0 commit comments

Comments
 (0)