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