Skip to content

Commit

Permalink
fix ue project build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Bvallon-sl committed Apr 3, 2023
1 parent 3405d37 commit 3058ded
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void FAnimNode_ZEDLiveLinkPose::Evaluate_AnyThread(FPoseContext& Output)
CurrentRetargetAsset->EnableStickAvatarOnFloor(bStickAvatarOnFloor);
CurrentRetargetAsset->EnableBoneScaling(bBoneScaling);
CurrentRetargetAsset->SetHeightOffset(HeightOffset);
CurrentRetargetAsset->BuildPoseFromAnimationData(CachedDeltaTime, SkeletonData, FrameData, Output.Pose, SkeletalMesh);
CurrentRetargetAsset->BuildPoseFromZEDAnimationData(CachedDeltaTime, SkeletonData, FrameData, Output.Pose, SkeletalMesh);
CurrentRetargetAsset->BuildPoseAndCurveFromBaseData(CachedDeltaTime, SkeletonData, FrameData, Output.Pose, Output.Curve);
CachedDeltaTime = 0.f; // Reset so that if we evaluate again we don't "create" time inside of the retargeter
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void ULiveLinkOrientationsRemapAsset::propagateRestPoseRotations(int32 parentIdx
}

// Take Live Link data and apply it to skeleton bones in UE.
void ULiveLinkOrientationsRemapAsset::BuildPoseFromAnimationData(float DeltaTime,
void ULiveLinkOrientationsRemapAsset::BuildPoseFromZEDAnimationData(float DeltaTime,
const FLiveLinkSkeletonStaticData* InSkeletonData,
const FLiveLinkAnimationFrameData* InFrameData,
FCompactPose& OutPose,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ZEDUNREALLIVELINK_API ULiveLinkOrientationsRemapAsset : public ULiveLinkRe
FCompactPoseBoneIndex GetCPIndex(int32 idx, FCompactPose& OutPose, TArray<FName, TMemStackAllocator<>> TransformedBoneNames);

public:
void BuildPoseFromAnimationData(float DeltaTime, const FLiveLinkSkeletonStaticData* InSkeletonData,
void BuildPoseFromZEDAnimationData(float DeltaTime, const FLiveLinkSkeletonStaticData* InSkeletonData,
const FLiveLinkAnimationFrameData* InFrameData,
FCompactPose& OutPose, USkeletalMeshComponent* SkeletalMesh);

Expand Down

0 comments on commit 3058ded

Please sign in to comment.