diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp index 55852e88..ea911ead 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp @@ -47,7 +47,6 @@ #include "SenseGlove/Animation/SGVirtualHandAnimInstance.h" #include "SenseGlove/Components/SGWristTrackerComponent.h" -#include "SGBuildHacks/SGPlatform.h" #include "SGCore/SGHapticGlove.h" #include "SGDebug/SGDebugVirtualHand.h" #include "SGLog/SGLog.h" @@ -754,8 +753,6 @@ void USGVirtualHandComponent::FImpl::UpdateXRData() FXRMotionControllerData Data; Data.bValid = false; - - PRAGMA_DISABLE_DEPRECATION_WARNINGS const bool bGotMotionControllerData = FSGXRTracker::GetMotionControllerData(Owner, Hand, Data); diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp index b62cc71b..3de83543 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGWristTrackerComponent.cpp @@ -37,7 +37,6 @@ #include "IXRTrackingSystem.h" -#include "SGBuildHacks/SGPlatform.h" #include "SGDebug/SGDebugGizmo.h" #include "SGLog/SGLog.h" #include "SGSettings/SGSettings.h" @@ -336,7 +335,6 @@ void USGWristTrackerComponent::FImpl::UpdateXRData() FXRMotionControllerData Data; Data.bValid = false; - PRAGMA_DISABLE_DEPRECATION_WARNINGS const bool bGotMotionControllerData = FSGXRTracker::GetMotionControllerData(Owner, Hand, Data);