Skip to content

Commit f6fcfbd

Browse files
madvladkeveleigh
authored andcommitted
Update TapToPlace.cs (#412)
Remove useless test code
1 parent e2dbdcf commit f6fcfbd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Assets/HoloToolkit/SpatialMapping/Scripts/TapToPlace.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public virtual void Update()
9696
// update the placement to match the user's gaze.
9797
if (IsBeingPlaced)
9898
{
99-
if (gameObject.GetComponent<TapToPlace>().IsBeingPlaced) { }
10099
// Do a raycast into the world that will only hit the Spatial Mapping mesh.
101100
Vector3 headPosition = Camera.main.transform.position;
102101
Vector3 gazeDirection = Camera.main.transform.forward;

0 commit comments

Comments
 (0)