Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/LiveCodingSettings.cpp
Jack Porter 9d2ebe90d2 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira 0

[CL 5396125 by Jack Porter in Dev-Mobile branch]
2019-03-14 00:59:16 -04:00

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("bIncludeEngineModules");
check(EngineModulesProperty != nullptr);
UProperty* EnginePluginModulesProperty = StaticClass()->FindPropertyByName("bIncludeEnginePluginModules");
check(EnginePluginModulesProperty != nullptr);
if (FApp::IsEngineInstalled())
{
EngineModulesProperty->ClearPropertyFlags(CPF_Edit);
EnginePluginModulesProperty->ClearPropertyFlags(CPF_Edit);
}
bIncludeProjectModules = true;
bIncludeProjectPluginModules = true;
}