fix runuat build issues for ue 5.2

This commit is contained in:
Mamadou Babaei
2024-08-16 16:37:25 +02:00
parent db287f0137
commit d8308fa260
@@ -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)};