[INTEGRATE] Change 2417928 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/24 15:53:14

Fixed failed C++ hot reload not displaying an error to the user (UE-8241)
	- Also added slightly better progress reporting to hot reload when adding code to a project

[CL 2419709 by Ben Marsh in Main branch]
This commit is contained in:
Ben Marsh
2015-01-26 20:16:08 -05:00
parent 9d3f610c89
commit a05abb1027
5 changed files with 19 additions and 8 deletions

View File

@@ -257,7 +257,7 @@ FReply SModuleUI::FModuleListItem::OnRecompileClicked()
{
// Perform a hot reload
const bool bWaitForCompletion = true;
HotReloadSupport.RebindPackages(PackagesToRebind, TArray<FName>(), bWaitForCompletion, *GLog);
ECompilationResult::Type Result = HotReloadSupport.RebindPackages(PackagesToRebind, TArray<FName>(), bWaitForCompletion, *GLog);
}
else
{
@@ -265,7 +265,7 @@ FReply SModuleUI::FModuleListItem::OnRecompileClicked()
const bool bReloadAfterRecompile = true;
const bool bForceCodeProject = false;
const bool bFailIfGeneratedCodeChanges = true;
HotReloadSupport.RecompileModule(ModuleName, bReloadAfterRecompile, *GLog, bFailIfGeneratedCodeChanges, bForceCodeProject);
const bool bRecompileSucceeded = HotReloadSupport.RecompileModule(ModuleName, bReloadAfterRecompile, *GLog, bFailIfGeneratedCodeChanges, bForceCodeProject);
}
}