Commit Graph

189 Commits

Author SHA1 Message Date
phillip kavan
4ed5243a73 Fix for a regression that caused nativized widget Blueprint class property delegates to no longer be invoked at runtime.
Also addresses a non-regression issue with nativized child widgets that utilize the WidgetTree instance from a parent class.

#jira UE-66681, UE-71564
#rb Jason.Stasik
[FYI] Nick.Darnell
#lockdown Cristina.Riveron

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 5459757 in //UE4/Release-4.22/... via CL 5459766
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5475966 by phillip kavan in Dev-Anim branch]
2019-03-20 13:24:10 -04:00
phillip kavan
ff05860373 Fix replication of a child actor component's internal archetype object when both the archetype and the outer Blueprint class are both nativized.
#jira UE-70467
#rb Dan.OConnor

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 5257952 in //UE4/Release-4.22/... via CL 5258672
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5266547 by phillip kavan in Dev-Anim branch]
2019-03-01 15:03:54 -05:00
phillip kavan
c5fa7c667f Fix conversion of a TWeakObjectPtr property value when it references an instanced subobject in a nativized Blueprint class.
#rb None
#jira UE-69969

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 5118725 in //UE4/Release-4.22/... via CL 5206671
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5220160 by phillip kavan in Dev-Anim branch]
2019-02-26 21:00:59 -05:00
phillip kavan
71fdff0d87 Fix for nativized builds failing on a VirtualProductionUtilities plugin Blueprint asset dependency.
#rnx
#rb None
#jira UE-70351

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 5113558 in //UE4/Release-4.22/... via CL 5206618
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5220036 by phillip kavan in Dev-Anim branch]
2019-02-26 21:00:37 -05:00
Marc Audy
e5610adfd8 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ 4802313
#rb
#rnx
#lockdown Laurent.Delayen

[CL 4803512 by Marc Audy in Dev-Anim branch]
2019-01-24 15:32:49 -05:00
Thomas Sarkanen
cc942a3341 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4768627
#rb none
#jira none

[CL 4769629 by Thomas Sarkanen in Dev-Anim branch]
2019-01-22 06:48:04 -05:00
Thomas Sarkanen
b709a10f4c Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4708558
#rb none
#jira none
#lockdown Laurent.Delayen

[CL 4708630 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 07:37:39 -05:00
Thomas Sarkanen
e0f6136524 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4704791
#rb none
#jiira none

[CL 4708070 by Thomas Sarkanen in Dev-Anim branch]
2019-01-11 04:11:30 -05:00
Thomas Sarkanen
8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00
Thomas Sarkanen
c51a339259 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4574801
#jira none
#rb none

[CL 4575789 by Thomas Sarkanen in Dev-Anim branch]
2018-11-19 07:03:18 -05:00
phillip kavan
b0b94a4561 Fix a regression that causes nativized QAGame to fail when loading test maps containing nativized BP actor instances with circular references.
Notes:
- This will re-introduce UE-62514. I will be reopening that issue to be addressed for the next release instead.

#rnx
#rb None
#jira UE-64888

#ROBOMERGE-SOURCE: CL 4491493 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4491495 by phillip kavan in Staging-4.21 branch]
2018-10-19 13:59:15 -04:00
phillip kavan
375005134c Fix for an EDL runtime assertion on load when constructing the CDO for a nativized Blueprint class that contains an instanced object reference of another nativized Blueprint class type that references an instance of a non-nativized Blueprint class as a nested, class-owned subobject.
- Mirrored from //UE4/Dev-Framework (4413311).

#jira UE-62514
#rb Dan.OConnor

#ROBOMERGE-SOURCE: CL 4426061 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4426062 by phillip kavan in Staging-4.21 branch]
2018-10-03 18:27:58 -04:00
phillip kavan
58ce1ce9e2 Fix UBT warnings when building/packaging with Blueprint nativization enabled.
- Mirrored from //UE4/Dev-Framework (4352144).

#jira UE-62946, UE-63311
#rb Marc.Audy

#ROBOMERGE-SOURCE: CL 4425408 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4425418 by phillip kavan in Staging-4.21 branch]
2018-10-03 17:30:04 -04:00
phillip kavan
58311e3573 Support a proper fallback to construct any native 'noexport' struct-typed literal term in a nativized Blueprint class.
- Mirrored from //UE4/Dev-Framework (4347635).

#jira UE-63364
#rb Ben.Zeigler

#ROBOMERGE-SOURCE: CL 4425194 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4425227 by phillip kavan in Staging-4.21 branch]
2018-10-03 17:25:22 -04:00
marc audy
b95710a479 Remove broken test (as best it can be told it could never have worked)
#jira UE-64547
#rb Dan.OConnor
#rnx

#ROBOMERGE-SOURCE: CL 4416030 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4416031 by marc audy in Staging-4.21 branch]
2018-10-02 13:33:20 -04:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Phillip Kavan
dea24c5d47 Fix missing backend support for initializing a container variable (including unconnected function output pins) to a default (literal) value term in nativized Blueprint C++ code.
Change summary:
- Added a 'CoerceProperty' argument to FBlueprintCompilerCppBackEnd::TermToText() and FEmitHelper::LiteralTerm(). This is passed through as the LHS term's associated property when compiling 'KCST_Assignment' statements.
- Modified FEmitHelper::LiteralTerm() to emit an initialization list to C++. This occurs when the RHS of a variable assignment statement is a literal container term, which includes the initialization of K2Node_FunctionResult pins to a default (empty) value.
- Added FBlueprintCompilerCppBackEnd::TermToText() and FEmitHelper::LiteralTerm() methods that accept a struct value for specifying arguments rather than increasing the number of parameters with default values. Modified the implementations to match.

#jira UE-48397
#rb Dan.OConnor

[CL 4338211 by Phillip Kavan in Dev-Framework branch]
2018-08-31 17:59:41 -04:00
Phillip Kavan
8c61dfc55c Fix incorrect code generation at cook time when Blueprint nativization is enabled for objects instanced through the editor and assigned to an instanced object reference property.
Change summary:
- Modified FEmitDefaultValueHelper::HandleSpecialTypes() to emit runtime code to look for an existing instance of a default subobject only if the 'RF_DefaultSubObject' flag is set on the source instance. This works around instances that return 'true' for IsDefaultSubobject() but were not created with CreateDefaultSubobject() (e.g. - instanced in the editor UI).

#rb None
#jira UE-62883

[CL 4301603 by Phillip Kavan in Dev-Framework branch]
2018-08-20 14:57:10 -04:00
Dan Oconnor
525f730020 Interpreter Optimization 5 of N: Move UberGraphFramePointerProperty into UClass to avoid VCalls in blueprint intrepreter
#rb Phillip.Kavan

[CL 4259893 by Dan Oconnor in Dev-Framework branch]
2018-08-03 17:50:37 -04:00
Phillip Kavan
0de0ec9474 Fix assertion in a nativized build on attempt to register an instanced subobject that was constructed based on an archetype that was originally instanced through the editor UI.
Change summary:
- Modified FEmitDefaultValueHelper::HandleInstancedSubobject() to remove the RF_ArchetypeObject flag from the flags parameter in the NewObject() call that's emitted to the converted class ctor.

#rb None
#jira UE-61166

[CL 4223012 by Phillip Kavan in Dev-Framework branch]
2018-07-19 12:31:48 -04:00
phillip kavan
15a637d10a Fix broken event function overrides in nativized Blueprint child classes.
Change summary:
- Modified FBlueprintCompilerCppBackendBase::ConstructFunctionDeclaration() to declare BPIEs as virtual and BPIE overrides as virtual/override. This allows for indirection to the right function pointer through the vtable, since we no longer have explicit UHT boilerplate code being generated for function overrides due to removal of UFUNCTION markup, which was done to comply with UHT.

#rnx
#jira UE-61163
#rb Dan.OConnor

#ROBOMERGE-SOURCE: CL 4175312 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: phillip.kavan

[CL 4175313 by phillip kavan in Staging-4.20 branch]
2018-06-29 17:21:18 -04:00
phillip kavan
39fdc38aa8 Fix failure to build nativized Match3 (regression).
Change summary:
- Modified FEmitHelper::MetaDataCanBeNative() to exclude 'ExpandEnumAsExecs' metadata from UFUNCTION() markup in converted code.

#rnx
#rb None
#jira UE-60661

#ROBOMERGE-SOURCE: CL 4145716 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: phillip.kavan

[CL 4150416 by phillip kavan in Staging-4.20 branch]
2018-06-20 14:25:48 -04:00
andrew grant
64455e3756 Disabled redundent BP nativization tests (https://udn.unrealengine.com/questions/436617)
#rb Dan.OConnor
#jira none

#ROBOMERGE-SOURCE: CL 4131201 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: andrew.grant

[CL 4131205 by andrew grant in Staging-4.20 branch]
2018-06-14 17:25:52 -04:00
phillip kavan
c4eff79617 Fix UHT warning about duplicating UFUNCTION() meta on nativized child Blueprint classes that override at least one non-native method defined in a parent Blueprint class.
- Mirrored from //UE4/Dev-Framework (4128271).

#rnx
#rb None
#jira UE-59182

#ROBOMERGE-SOURCE: CL 4128365 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)
#ROBOMERGE-AUTHOR: phillip.kavan

[CL 4128366 by phillip kavan in Staging-4.20 branch]
2018-06-13 17:12:07 -04:00
phillip kavan
ac030f07af #ROBOMERGE-AUTHOR: phillip.kavan
Fix a regression that causes some UMG widgets to no longer animate in a nativized cooked build.

- Mirrored from //UE4/Dev-Framework (4121263).

#rnx
#rb None
#jira UE-57011

#ROBOMERGE-SOURCE: CL 4121264 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)

[CL 4122766 by phillip kavan in Staging-4.20 branch]
2018-06-11 13:16:17 -04:00