fix a bug where tracking status not being set when the hand data is valid
This commit is contained in:
@@ -1181,6 +1181,11 @@ bool FSGXRTracker::GetMotionControllerData(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OutMotionControllerData.bValid)
|
||||||
|
{
|
||||||
|
OutMotionControllerData.TrackingStatus = ETrackingStatus::Tracked;
|
||||||
|
}
|
||||||
|
|
||||||
/// TODO
|
/// TODO
|
||||||
// This is reportedly a WMR-specific convenience function for rapid prototyping. Not sure if it's useful for OpenXR.
|
// This is reportedly a WMR-specific convenience function for rapid prototyping. Not sure if it's useful for OpenXR.
|
||||||
OutMotionControllerData.bIsGrasped = false;
|
OutMotionControllerData.bIsGrasped = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user