fix runuat build issues for ue 5.2

This commit is contained in:
Mamadou Babaei
2024-06-27 11:59:17 +02:00
parent 2ac0819541
commit 9de8353fa3
@@ -1194,7 +1194,7 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{GetEControllerHandEnumName(DeviceHand)};
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
FTransform ControllerTransform;
@@ -1222,7 +1222,7 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{GetEControllerHandEnumName(DeviceHand)};
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};