Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/LiveCodingSettings.cpp
Robert Manuszewski 18c689aed1 Converted UProperties to FProperties
#rb Steve.Robb (at least the most important files)

[CL 10596080 by Robert Manuszewski in Dev-Core branch]
2019-12-06 14:50:00 -05: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)
{
FProperty* EngineModulesProperty = StaticClass()->FindPropertyByName("bPreloadEngineModules");
check(EngineModulesProperty != nullptr);
FProperty* EnginePluginModulesProperty = StaticClass()->FindPropertyByName("bPreloadEnginePluginModules");
check(EnginePluginModulesProperty != nullptr);
if (FApp::IsEngineInstalled())
{
EngineModulesProperty->ClearPropertyFlags(CPF_Edit);
EnginePluginModulesProperty->ClearPropertyFlags(CPF_Edit);
}
bPreloadProjectModules = true;
bPreloadProjectPluginModules = true;
}