Fix deprecation warning in new Input Simulation code from MS.

#rb jeff.fisher
#jira UE-91034

[CL 12383332 by steve smith in 4.25 branch]
This commit is contained in:
steve smith
2020-03-23 17:07:59 -04:00
parent 9240689267
commit 7c8ab86f58

View File

@@ -48,7 +48,8 @@ bool UWindowsMixedRealityInputSimulationEngineSubsystem::IsInputSimulationEnable
UEditorEngine* EdEngine = Cast<UEditorEngine>(GEngine);
// We take bUseVRPreviewForPlayWorld as an indication that we're running using Holographic Remoting
return !EdEngine->bUseVRPreviewForPlayWorld;
//return FRequestPlaySessionParams::SessionPreviewTypeOverride
return !(EdEngine->GetPlaySessionRequest()->SessionPreviewTypeOverride == EPlaySessionPreviewType::VRPreview);
}
#endif