remove remnants of the long-removed Unreal Engine 5.2 from SenseGloveTracking module

This commit is contained in:
Mamadou Babaei
2025-11-18 03:23:14 +01:00
parent 90805084ec
commit 5c903fe0dd
2 changed files with 1 additions and 8 deletions
@@ -1747,10 +1747,6 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
return false;
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{FImpl::GetControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
FTransform ControllerTransform;
bool bMotionSourceHandTracking;
const bool bGotTransform = Pimpl->GetControllerTransform(MotionSource, WorldToMetersScale,
@@ -1770,10 +1766,6 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
return ETrackingStatus::NotTracked;
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{FImpl::GetControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};
if (!KeyPointInfoPtr)
{