fix runuat build issues for ue 5.2

This commit is contained in:
Mamadou Babaei
2024-08-16 18:01:39 +02:00
parent 722b95627b
commit 8d3802aa09
@@ -1194,7 +1194,7 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
} }
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 #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 */ #endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
FTransform ControllerTransform; FTransform ControllerTransform;
@@ -1222,7 +1222,7 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
} }
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 #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 */ #endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)}; const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};