Hot-Reload improvements:

- CDO property values that have changed after hot-reload will now be propagated to the existing instances
- Adding code to a non-code project will no longer require restarting the editor to be able to work with new code (the new module will automatically be compiled and loaded)

[CL 2385307 by Robert Manuszewski in Main branch]
This commit is contained in:
Robert Manuszewski
2014-12-11 06:03:58 -05:00
committed by UnrealBot
parent c5691738b8
commit cb091bcd80
13 changed files with 354 additions and 62 deletions

View File

@@ -263,7 +263,9 @@ FReply SModuleUI::FModuleListItem::OnRecompileClicked()
{
// Perform a regular unload, then reload
const bool bReloadAfterRecompile = true;
HotReloadSupport.RecompileModule( ModuleName, bReloadAfterRecompile, *GLog );
const bool bForceCodeProject = false;
const bool bFailIfGeneratedCodeChanges = true;
HotReloadSupport.RecompileModule(ModuleName, bReloadAfterRecompile, *GLog, bFailIfGeneratedCodeChanges, bForceCodeProject);
}
}