From 05bc4ac4887615ed6397b6c49738cace5862200f Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Tue, 22 Oct 2024 05:55:02 +0200 Subject: [PATCH] include Runtime/Launch/Resources/Version.h only where it matters --- .../SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.cpp | 1 - .../Public/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h | 1 + .../Public/SenseGlove/Components/SGVirtualHandComponent.h | 1 + .../Public/SenseGlove/Components/SGWristTrackerComponent.h | 1 + Source/SenseGloveDebug/Public/SGDebug/SGDebugVirtualHand.h | 1 + Source/SenseGloveUtils/Private/SGUtils/SGEngineUtils.cpp | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/SenseGlove/Private/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.cpp b/Source/SenseGlove/Private/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.cpp index 825b15e4..1968b605 100644 --- a/Source/SenseGlove/Private/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.cpp @@ -44,7 +44,6 @@ #include "Containers/UnrealString.h" #include "Engine/SkeletalMesh.h" #include "Math/Rotator.h" -#include "Runtime/Launch/Resources/Version.h" #include "SenseGlove/Components/SGVirtualHandComponent.h" diff --git a/Source/SenseGlove/Public/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h b/Source/SenseGlove/Public/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h index 83675e73..0826a475 100644 --- a/Source/SenseGlove/Public/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h +++ b/Source/SenseGlove/Public/SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h @@ -40,6 +40,7 @@ #include "HeadMountedDisplayTypes.h" #include "Math/Quat.h" #include "Math/Transform.h" +#include "Runtime/Launch/Resources/Version.h" #include "Templates/UniquePtr.h" #include "UObject/NameTypes.h" diff --git a/Source/SenseGlove/Public/SenseGlove/Components/SGVirtualHandComponent.h b/Source/SenseGlove/Public/SenseGlove/Components/SGVirtualHandComponent.h index 224112d5..4ed53727 100644 --- a/Source/SenseGlove/Public/SenseGlove/Components/SGVirtualHandComponent.h +++ b/Source/SenseGlove/Public/SenseGlove/Components/SGVirtualHandComponent.h @@ -44,6 +44,7 @@ #include "Math/Transform.h" #include "Misc/AssertionMacros.h" #include "ReferenceSkeleton.h" +#include "Runtime/Launch/Resources/Version.h" #include "Templates/UniquePtr.h" #include "UObject/NameTypes.h" diff --git a/Source/SenseGlove/Public/SenseGlove/Components/SGWristTrackerComponent.h b/Source/SenseGlove/Public/SenseGlove/Components/SGWristTrackerComponent.h index 36beb88c..fc5e0ebe 100644 --- a/Source/SenseGlove/Public/SenseGlove/Components/SGWristTrackerComponent.h +++ b/Source/SenseGlove/Public/SenseGlove/Components/SGWristTrackerComponent.h @@ -40,6 +40,7 @@ #include "Math/Rotator.h" #include "Math/Vector.h" #include "MotionControllerComponent.h" +#include "Runtime/Launch/Resources/Version.h" #include "Templates/UniquePtr.h" #include "SGSettings/SGWristTrackingSettings.h" diff --git a/Source/SenseGloveDebug/Public/SGDebug/SGDebugVirtualHand.h b/Source/SenseGloveDebug/Public/SGDebug/SGDebugVirtualHand.h index cb8c8509..9b8d1810 100644 --- a/Source/SenseGloveDebug/Public/SGDebug/SGDebugVirtualHand.h +++ b/Source/SenseGloveDebug/Public/SGDebug/SGDebugVirtualHand.h @@ -39,6 +39,7 @@ #include "HeadMountedDisplayTypes.h" #include "Math/Rotator.h" #include "Math/Vector.h" +#include "Runtime/Launch/Resources/Version.h" #include "SGSettings/SGVirtualHandDebuggingSettings.h" diff --git a/Source/SenseGloveUtils/Private/SGUtils/SGEngineUtils.cpp b/Source/SenseGloveUtils/Private/SGUtils/SGEngineUtils.cpp index 17724969..eaa2fede 100644 --- a/Source/SenseGloveUtils/Private/SGUtils/SGEngineUtils.cpp +++ b/Source/SenseGloveUtils/Private/SGUtils/SGEngineUtils.cpp @@ -42,6 +42,7 @@ #include "Engine/Engine.h" #include "Engine/GameViewportClient.h" #include "Engine/World.h" +#include "Runtime/Launch/Resources/Version.h" #include "Subsystems/EngineSubsystem.h" UWorld* FSGEngineUtils::GetWorld()