remove remnants of the long-removed Unreal Engine 5.2 from SenseGloveTracking module

This commit is contained in:
Mamadou Babaei
2025-11-18 03:23:14 +01:00
parent 90805084ec
commit 5c903fe0dd
2 changed files with 1 additions and 8 deletions
+1
View File
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed ### Removed
- Cleaned up remnants of the long-removed Unreal Engine `5.2` from third-party module `*.Build.cs` files. - Cleaned up remnants of the long-removed Unreal Engine `5.2` from third-party module `*.Build.cs` files.
- Cleaned up remnants of the long-removed Unreal Engine `5.2` from `SenseGloveTracking` module.
## [2.6.3] - 2025-06-27 ## [2.6.3] - 2025-06-27
@@ -1747,10 +1747,6 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
return false; 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; FTransform ControllerTransform;
bool bMotionSourceHandTracking; bool bMotionSourceHandTracking;
const bool bGotTransform = Pimpl->GetControllerTransform(MotionSource, WorldToMetersScale, const bool bGotTransform = Pimpl->GetControllerTransform(MotionSource, WorldToMetersScale,
@@ -1770,10 +1766,6 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
return ETrackingStatus::NotTracked; 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)}; const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};
if (!KeyPointInfoPtr) if (!KeyPointInfoPtr)
{ {