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
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ void AVirtualRealityPawn::Tick(float DeltaSeconds)
{
Super::Tick(DeltaSeconds);
if (UVirtualRealityUtilities::IsDesktopMode())
if (UVirtualRealityUtilities::IsDesktopMode() && IsLocallyControlled())
{
SetCameraOffset();
UpdateRightHandForDesktopInteraction();
......@@ -136,7 +136,6 @@ void AVirtualRealityPawn::EvaluateLivelink() const
return;
}
// Get the LiveLink interface and evaluate the current existing frame data for the given Subject and Role.
ILiveLinkClient& LiveLinkClient = IModularFeatures::Get().GetModularFeature<ILiveLinkClient>(
ILiveLinkClient::ModularFeatureName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment