Skip to content
Snippets Groups Projects
Commit c6504c4f authored by David Gilbert's avatar David Gilbert :bug:
Browse files

fix(pawn, replication): Fixes an issue with Camera and RightHand Transforms...

fix(pawn, replication): Fixes an issue with Camera and RightHand Transforms being overwritten locally for none-locally controlled pawns.
parent 8bb2a43d
Branches
Tags
No related merge requests found
...@@ -42,7 +42,7 @@ void AVirtualRealityPawn::Tick(float DeltaSeconds) ...@@ -42,7 +42,7 @@ void AVirtualRealityPawn::Tick(float DeltaSeconds)
{ {
Super::Tick(DeltaSeconds); Super::Tick(DeltaSeconds);
if (UVirtualRealityUtilities::IsDesktopMode()) if (UVirtualRealityUtilities::IsDesktopMode() && IsLocallyControlled())
{ {
SetCameraOffset(); SetCameraOffset();
UpdateRightHandForDesktopInteraction(); UpdateRightHandForDesktopInteraction();
...@@ -136,7 +136,6 @@ void AVirtualRealityPawn::EvaluateLivelink() const ...@@ -136,7 +136,6 @@ void AVirtualRealityPawn::EvaluateLivelink() const
return; return;
} }
// Get the LiveLink interface and evaluate the current existing frame data for the given Subject and Role. // Get the LiveLink interface and evaluate the current existing frame data for the given Subject and Role.
ILiveLinkClient& LiveLinkClient = IModularFeatures::Get().GetModularFeature<ILiveLinkClient>( ILiveLinkClient& LiveLinkClient = IModularFeatures::Get().GetModularFeature<ILiveLinkClient>(
ILiveLinkClient::ModularFeatureName); ILiveLinkClient::ModularFeatureName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment