Files
UnrealEngineUWP/Engine/Source/Editor/KismetCompiler
Phillip Kavan 49963b3171 Uniquely instance subobjects when importing default value terms to non-native class variable properties on the new CDO during a Blueprint compile.
Change summary:
- Reverted previous change (21708020) as that would have failed with a NULL OwnerObject. Pasting/duplicating a variable just imports the clipboard text to a new descriptor value; we don't need to add the port flag until compile time.
- Modified FBlueprintEditorUtils::PropertyValueToString()/PropertyValueFromString() APIs to include an additional parameter to support callers that need to add one or more extra port flag(s) to the underlying ImportText()/ExportText() call.
- Modified FKismetCompilerContext::CopyTermDefaultsToDefaultObject() to check for properties that either contain or represent an instanced object reference and append the PPF_InstanceSubobjects port flag in that case.

#jira UE-162168
#rb Marc.Audy
#preflight 63489585a8717e9453873ded

[CL 22614463 by Phillip Kavan in ue5-main branch]
2022-10-18 19:55:10 -04:00
..