remove remnants of the long-removed Unreal Engine 5.2 from SenseGloveTracking module
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user