fix a build issue on ue 5.2
This commit is contained in:
@@ -1412,7 +1412,7 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
|
||||
}
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
|
||||
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
|
||||
const FName& MotionSource{FImpl::GetControllerHandEnumName(DeviceHand)};
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
|
||||
|
||||
FTransform ControllerTransform;
|
||||
@@ -1440,7 +1440,7 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
|
||||
}
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
|
||||
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
|
||||
const FName& MotionSource{FImpl::GetControllerHandEnumName(DeviceHand)};
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
|
||||
|
||||
const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};
|
||||
@@ -2451,4 +2451,4 @@ bool FSGXRTracker::FImpl::UpdateSGHandState(const bool bRight, FSGXRHandState& O
|
||||
void FSGXRTracker::FImplDeleter::operator()(const FImpl* P) const
|
||||
{
|
||||
delete P;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user