Skip to content

Commit e5800b5

Browse files
committed
Remove failed test changes
1 parent 02b33da commit e5800b5

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

com.microsoft.mrtk.input/Interactors/InteractorVisuals/MRTKRayReticleVisual.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,11 @@ private void OnDisable()
7272
ReticleSetActive(false);
7373
}
7474

75-
/// <summary>
76-
/// A Unity event function that is called every frame, if this object is enabled.
77-
/// </summary>
78-
//private void LateUpdate()
79-
//{
80-
// // if running in batch mode the onBeforeRender event doesn't fire so
81-
// // we need to update the reticle here
82-
// if (Application.isBatchMode)
83-
// {
84-
// UpdateReticle();
85-
// }
86-
//}
87-
8875
private static readonly ProfilerMarker UpdateReticlePerfMarker = new ProfilerMarker("[MRTK] MRTKRayReticleVisual.UpdateReticle");
8976

9077
[BeforeRenderOrder(XRInteractionUpdateOrder.k_BeforeRenderLineVisual)]
9178
private void UpdateReticle()
9279
{
93-
Debug.Log("UpdateReticle");
9480
using (UpdateReticlePerfMarker.Auto())
9581
{
9682
if (Reticle != null)

com.microsoft.mrtk.spatialmanipulation/Tests/Runtime/BoundsControlTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ public IEnumerator TestManipulationCursor([ValueSource(nameof(BoundsVisualsPrefa
318318
yield return HoverCursorRotation("RotateHandle (5)", new Vector3(0f, 180f, 90f), visualsPath);
319319
// Known side rotate handle
320320
yield return HoverCursorRotation("RotateHandle (10)", new Vector3(0f, 180f, 0f), visualsPath);
321-
322321
}
323322

324323
private bool ApproximatelyEquals(Vector3 a, Vector3 b, float tolerance = 0.1f)
@@ -372,7 +371,7 @@ private IEnumerator HoverCursorRotation(string handleName, Vector3 expectedRotat
372371
// Move it so the far ray hovers the handle
373372
Assert.IsNotNull(handle);
374373
yield return hand.AimAt(handle.transform.position);
375-
yield return RuntimeTestUtilities.WaitForUpdates(frameCount:60);
374+
yield return RuntimeTestUtilities.WaitForUpdates();
376375

377376
Assert.IsTrue(handle.isHovered, $"Handle should be hovered for {handleName}.");
378377
SpatialManipulationReticle[] reticles = Object.FindObjectsOfType<SpatialManipulationReticle>();

0 commit comments

Comments
 (0)