You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #jira #ROBOMERGE-OWNER: ben.marsh #ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 5437980 in //UE4/Release-4.22/... via CL 5437990 #ROBOMERGE-BOT: BUILD (Main -> Dev-Build) [CL 5457435 by ben marsh in Dev-Build branch]
23 lines
755 B
C++
23 lines
755 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "LiveCodingSettings.h"
|
|
#include "Misc/App.h"
|
|
|
|
ULiveCodingSettings::ULiveCodingSettings(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
|
|
{
|
|
UProperty* EngineModulesProperty = StaticClass()->FindPropertyByName("bPreloadEngineModules");
|
|
check(EngineModulesProperty != nullptr);
|
|
|
|
UProperty* EnginePluginModulesProperty = StaticClass()->FindPropertyByName("bPreloadEnginePluginModules");
|
|
check(EnginePluginModulesProperty != nullptr);
|
|
|
|
if (FApp::IsEngineInstalled())
|
|
{
|
|
EngineModulesProperty->ClearPropertyFlags(CPF_Edit);
|
|
EnginePluginModulesProperty->ClearPropertyFlags(CPF_Edit);
|
|
}
|
|
|
|
bPreloadProjectModules = true;
|
|
bPreloadProjectPluginModules = true;
|
|
}
|