Fix "Compile" button in toolbar using legacy hot reload when live coding startup is set to manual.

#rb none
#jira UE-71359

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5361201 in //UE4/Release-4.22/... via CL 5368484
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5381899 by ben marsh in Dev-Anim branch]
This commit is contained in:
ben marsh
2019-03-13 10:02:57 -04:00
parent 1568fd0e82
commit b5e48810ff
4 changed files with 16 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ FString GLiveCodingConsoleArguments;
FLiveCodingModule::FLiveCodingModule()
: bEnabledLastTick(false)
, bEnabledForSession(false)
, bStarted(false)
{
}
@@ -135,9 +136,15 @@ void FLiveCodingModule::EnableForSession(bool bEnable)
LppSetVisible(false);
}
}
bEnabledForSession = bEnable;
}
bool FLiveCodingModule::IsEnabledForSession() const
{
return bEnabledForSession;
}
bool FLiveCodingModule::HasStarted() const
{
return bStarted;
}