UserDefinedStruct - properties won't be (unnecessarily) reloaded by linker

[CL 2328810 by Maciej Mroz in Main branch]
This commit is contained in:
Maciej Mroz
2014-10-14 13:32:44 -04:00
committed by UnrealBot
parent 0f3e8b6040
commit d7cb25b330

View File

@@ -137,6 +137,7 @@ struct FUserDefinedStructureCompilerInner
UProperty* NewProperty = FKismetCompilerUtilities::CreatePropertyOnScope(Struct, VarDesc.VarName, VarType, NULL, 0, Schema, MessageLog);
if (NewProperty != NULL)
{
NewProperty->SetFlags(RF_LoadCompleted);
FKismetCompilerUtilities::LinkAddedProperty(Struct, NewProperty);
}
else