fix a few build issues
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include "SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h"
|
#include "SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h"
|
||||||
|
|
||||||
|
#include "Animation/Skeleton.h"
|
||||||
#include "BoneContainer.h"
|
#include "BoneContainer.h"
|
||||||
#include "BoneControllers/AnimNode_ModifyBone.h"
|
#include "BoneControllers/AnimNode_ModifyBone.h"
|
||||||
#include "BonePose.h"
|
#include "BonePose.h"
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
#include "SenseGlove/Components/SGWristTrackerComponent.h"
|
#include "SenseGlove/Components/SGWristTrackerComponent.h"
|
||||||
#include "SGCore/SGHapticGlove.h"
|
#include "SGCore/SGHapticGlove.h"
|
||||||
#include "SGDebug/SGDebugVirtualHand.h"
|
#include "SGDebug/SGDebugVirtualHand.h"
|
||||||
|
#include "SGLog/SGLog.h"
|
||||||
#include "SGSettings/SGSettings.h"
|
#include "SGSettings/SGSettings.h"
|
||||||
#include "SGTracking/SGGloveTracker.h"
|
#include "SGTracking/SGGloveTracker.h"
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,10 @@
|
|||||||
|
|
||||||
#include "SGVirtualHandAnimInstanceProxy.generated.h"
|
#include "SGVirtualHandAnimInstanceProxy.generated.h"
|
||||||
|
|
||||||
|
class USkeletalMesh;
|
||||||
|
class USkeleton;
|
||||||
|
class USGVirtualHandComponent;
|
||||||
|
|
||||||
USTRUCT()
|
USTRUCT()
|
||||||
struct SENSEGLOVE_API FSGVirtualHandAnimInstanceProxy : public FAnimInstanceProxy
|
struct SENSEGLOVE_API FSGVirtualHandAnimInstanceProxy : public FAnimInstanceProxy
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ struct USGGloveTracker::FImpl
|
|||||||
void UpdateGloves() const;
|
void UpdateGloves() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
USGGloveTracker* USGGloveTracker::GetInstance(const UObject* WorldContextObject = nullptr)
|
USGGloveTracker* USGGloveTracker::GetInstance(const UObject* WorldContextObject)
|
||||||
{
|
{
|
||||||
const UWorld* World{WorldContextObject ? WorldContextObject->GetWorld() : FSGEngineUtils::GetWorld()};
|
const UWorld* World{WorldContextObject ? WorldContextObject->GetWorld() : FSGEngineUtils::GetWorld()};
|
||||||
USGGloveTracker* Instance{IsValid(World) ? World->GetSubsystem<USGGloveTracker>() : nullptr};
|
USGGloveTracker* Instance{IsValid(World) ? World->GetSubsystem<USGGloveTracker>() : nullptr};
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class SENSEGLOVETRACKING_API USGGloveTracker : public UWorldSubsystem
|
|||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static USGGloveTracker* GetInstance(const UObject* WorldContextObject);
|
static USGGloveTracker* GetInstance(const UObject* WorldContextObject = nullptr);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct FImpl;
|
struct FImpl;
|
||||||
|
|||||||
Reference in New Issue
Block a user