You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UserDefinedStruct - properties won't be (unnecessarily) reloaded by linker
[CL 2328810 by Maciej Mroz in Main branch]
This commit is contained in:
@@ -137,6 +137,7 @@ struct FUserDefinedStructureCompilerInner
|
|||||||
UProperty* NewProperty = FKismetCompilerUtilities::CreatePropertyOnScope(Struct, VarDesc.VarName, VarType, NULL, 0, Schema, MessageLog);
|
UProperty* NewProperty = FKismetCompilerUtilities::CreatePropertyOnScope(Struct, VarDesc.VarName, VarType, NULL, 0, Schema, MessageLog);
|
||||||
if (NewProperty != NULL)
|
if (NewProperty != NULL)
|
||||||
{
|
{
|
||||||
|
NewProperty->SetFlags(RF_LoadCompleted);
|
||||||
FKismetCompilerUtilities::LinkAddedProperty(Struct, NewProperty);
|
FKismetCompilerUtilities::LinkAddedProperty(Struct, NewProperty);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user