[AUTOMERGE]

#UE4 Disabling a warning about the TSF thread manager failing to initialize on build machines. This is expected since they are headless.

#RB Jamie.Dale

#platformnotify Josh.Adams

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2654807 by Bob.Tellez on 2015/08/13 11:57:33.

[CL 2654808 by Bob Tellez in Main branch]
This commit is contained in:
Bob Tellez
2015-08-13 11:58:35 -04:00
committed by Bob.Tellez@epicgames.com
parent cedb729632
commit 40bb5429a6

View File

@@ -391,7 +391,10 @@ bool FWindowsTextInputMethodSystem::InitializeTSF()
{
TCHAR ErrorMsg[1024];
FPlatformMisc::GetSystemErrorMessage(ErrorMsg, 1024, Result);
UE_LOG(LogWindowsTextInputMethodSystem, Warning, TEXT("Initialization failed while creating the TSF thread manager. %s (0x%08x)"), ErrorMsg, Result);
if (!GIsBuildMachine)
{
UE_LOG(LogWindowsTextInputMethodSystem, Warning, TEXT("Initialization failed while creating the TSF thread manager. %s (0x%08x)"), ErrorMsg, Result);
}
TSFInputProcessorProfiles.Reset();
TSFInputProcessorProfileManager.Reset();
return false;
@@ -479,7 +482,10 @@ bool FWindowsTextInputMethodSystem::InitializeTSF()
{
TCHAR ErrorMsg[1024];
FPlatformMisc::GetSystemErrorMessage(ErrorMsg, 1024, Result);
UE_LOG(LogWindowsTextInputMethodSystem, Warning, TEXT("Initialization failed while creating the TSF thread manager. %s (0x%08x)"), ErrorMsg, Result);
if (!GIsBuildMachine)
{
UE_LOG(LogWindowsTextInputMethodSystem, Warning, TEXT("Initialization failed while creating the TSF thread manager. %s (0x%08x)"), ErrorMsg, Result);
}
TSFInputProcessorProfiles.Reset();
TSFInputProcessorProfileManager.Reset();
TSFThreadManager.Reset();