Prevent packaged plugins getting a hot reload suffix if the editor is running.

#rb none
#jira UE-72487

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

[CL 5925302 by ben marsh in Dev-Anim branch]
This commit is contained in:
ben marsh
2019-04-16 17:10:21 -04:00
parent be44ec3661
commit 5d77089482

View File

@@ -197,7 +197,7 @@ class BuildPlugin : BuildCommand
FileReference ManifestFileName = FileReference.Combine(HostProjectFile.Directory, "Saved", String.Format("Manifest-{0}-{1}-{2}.xml", TargetName, Platform, Configuration));
ManifestFileNames.Add(ManifestFileName);
string Arguments = String.Format("-plugin={0} -iwyu -noubtmakefiles -manifest={1}", CommandUtils.MakePathSafeToUseWithCommandLine(HostProjectPluginFile.FullName), CommandUtils.MakePathSafeToUseWithCommandLine(ManifestFileName.FullName));
string Arguments = String.Format("-plugin={0} -iwyu -noubtmakefiles -manifest={1} -nohotreload", CommandUtils.MakePathSafeToUseWithCommandLine(HostProjectPluginFile.FullName), CommandUtils.MakePathSafeToUseWithCommandLine(ManifestFileName.FullName));
if(!String.IsNullOrEmpty(InAdditionalArgs))
{
Arguments += InAdditionalArgs;