Commit Graph

98 Commits

Author SHA1 Message Date
Dave Belanger
161c3bd5c4 Basic cooked BP support in BP editor (this is a starting point as they are problems remaining specifically around the graph and inherited functions and I have no doubt we will find more things that don't work later).
With these changes however we are now able to derive from a simple cooked BP, with no compile errors and we're able to see inherited components in the SCS editor, add new components to the tree, override inherited node properties and (re)instantiate those child BPs successfully in a level.
#jira UE-109793
#rb Phillip.Kavan

[CL 15758611 by Dave Belanger in ue5-main branch]
2021-03-22 08:55:37 -04:00
Zousar Shaker
12d60feecc Bulk pass to address PVS warnings due to use of a TObjectPtr in the result clauses of a ternary operator.
#jira UE-107532
#jira UE-107530
#rb none

[CL 15276391 by Zousar Shaker in ue5-main branch]
2021-02-01 19:17:54 -04:00
Christina TempelaarL
a9dd09fc9a Fixed blueprint nativization for SplineComponents/FInterpCurvePoints.
#jira UE-67542
#rb phillip.kavan

[CL 14713419 by Christina TempelaarL in ue5-main branch]
2020-11-10 17:16:52 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
robert manuszewski
b7568cc694 Fix for UE-90683: You can no longer delete conflicting variables
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.

#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12191300 by robert manuszewski in Main branch]
2020-03-15 10:33:45 -04:00
phillip kavan
c79fb04dea Fix non-functional collision in a nativized Actor Blueprint with one or more components set up to use a custom collision profile to override the component's inherited default collision response.
#jira UE-44333
#rb Marc.Audy

#ROBOMERGE-SOURCE: CL 11964919 in //UE4/Release-4.25/... via CL 11964932
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11964972 by phillip kavan in Main branch]
2020-03-05 16:49:40 -05:00
robert manuszewski
b938e59c9b Reimplementing FProperty changes from //UE4/Main
+ Reimplemented FProperty related fixed from //UE4/Main:
CL#10791312, 10804850, 10851666, 10855122, 10855198, 10942138, 11030611, 11030639, 11032261, 11061515, 11136964,11138881, 11214238, 11214865

#rb none (previously reviewed in Dev-Core)
[FYI] Chris.Bunnner, Daniel.Lamb


#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 11302985 via CL 11303011 via CL 11303019
#ROBOMERGE-BOT: (v0-11244347)

[CL 11303183 by robert manuszewski in Main branch]
2020-02-10 08:06:56 -05:00
Phillip Kavan
e802b35473 Fix blind reinstancing of natively-constructed nested subobjects during class-owned subobject initialization in nativized Blueprint C++ code.
#rb None
#jira UE-87038

[CL 11060342 by Phillip Kavan in Dev-Framework branch]
2020-01-17 19:28:42 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
marc audy
a235e1da08 Fix spelling error and don't create a few FStrings where a const TCHAR* would suffice.
#jira
#rnx


#ROBOMERGE-SOURCE: CL 10111690 via CL 10111694
#ROBOMERGE-BOT: (v587-10111126)

[CL 10111696 by marc audy in Main branch]
2019-11-12 09:19:39 -05:00
nicholas goldstein
b858e7c281 Fix typo in blueprint nativization with TMap entry default Value assignment.
#jira UE-79756
#rb phillip.kavan

[CL 8498068 by nicholas goldstein in Main branch]
2019-09-04 15:54:18 -04:00
Marc Audy
d0d9741860 Fix static analysis warning pointing out both too many parameters to a function and a crash!
#rb
#rnx

[CL 8124393 by Marc Audy in Dev-Framework branch]
2019-08-20 08:39:28 -04:00
Marc Audy
95a36b7df4 Allow blueprint users to override the component class of a native introduced component.
#jira UE-26970
#rb Phillip.Kavan

[CL 8037286 by Marc Audy in Dev-Framework branch]
2019-08-14 12:44:32 -04:00
Marc Audy
307e2e8d66 Store a function pointer on UDynamicClass to the custom class initialization (in much the same way that AddReferencedObjects pointer is stored) to ensure the class is initialized before beginning to construct the CDO rather than code embedded in the constructor
#rb Phillip.Kavan
#rnx

[CL 8034012 by Marc Audy in Dev-Framework branch]
2019-08-14 11:50:43 -04:00
Marc Audy
b9bed29109 Fix spelling and remove autos
#rb
#rnx

[CL 7954361 by Marc Audy in Dev-Framework branch]
2019-08-12 17:34:22 -04:00
Marc Audy
278eda75dd Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 7234503
#rb
#rnx

[CL 7263339 by Marc Audy in Dev-Framework branch]
2019-07-10 13:47:03 -04:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00
Marc Audy
608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -05:00
Phillip Kavan
fc4ec4d449 Misc. cleanup of FEmitDefaultValueHelper::AddStaticFunctionsForDependencies().
Change summary:
- Replaced inclusive lambda capture lists and non-compliant occurrences of auto.
- Consolidated EDL boot time paths and replaced TODO comments with updated notes.
- Consolidated work that required a full iteration through the dependencies list into a single pass.

#rnx
#rb Me
#jira None

[CL 4548059 by Phillip Kavan in Dev-Framework branch]
2018-11-07 11:40:46 -05:00
Phillip Kavan
5f94a9f078 Allow nativized Blueprint types to instance other nativized Blueprint types as subobjects when they have one or more non-Blueprint asset preload dependencies (e.g. non-native UMG widgets).
Change summary:
- Added a shared cache to FGatherConvertedClassDependencies. The ctor is now protected and access is done through the static Get() method. This prevents redundant dependency list gathering for a previously-queried class/struct type.
- Switched FGatherConvertedClassDependencies::Assets from a TArray to a TSet (for consistency w/ the other dependency lists).
- Added FGatherConvertedClassDependenciesHelperBase::AddAssetDependency() to consolidate the addition of non-converted type asset dependencies (for consistency and easier maintenance).
- Added FGatherConvertedClassDependencies::GatherAssetsReferencedByConvertedTypes() as a utility method for building a nested asset dependency chain when converted subobject types are involved.
- Modified FFakeImportTableHelper::GetClassesOfSubobjects() to flag nested asset dependencies as CDO preload dependencies for EDL on the outermost converted type. This ensures dependencies will be loaded prior to CDO construction before instancing subobjects of a converted class type.
- Modified FGatherConvertedClassDependencies::AllDependencies() to include nested asset dependencies; this ensures they're included when we're generating the code needed to support the linker's "fake" export table at runtime.
- Some misc. cleanup; replaced a few instances of 'auto' with explicit types and updated a few lambda capture lists in place of previous use of '&' as a catch-all.

#jira UE-62514
#rb Dan.OConnor

[CL 4541116 by Phillip Kavan in Dev-Framework branch]
2018-11-05 15:55:31 -05:00
Phillip Kavan
1a6f3c41ba Fix uninitialized user-defined struct fields in nativized, cooked builds.
Change summary:
- Modified FEmitDefaultValueHelper::GenerateUserStructConstructor() to ensure that POD fields are always initialized in the converted UDS ctor.

#jira UE-62764
#rb Ben.Zeigler

[CL 4522000 by Phillip Kavan in Dev-Framework branch]
2018-10-29 16:33:11 -04:00
Marc Audy
2a15af6ac1 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4397987
#rb
#rnx

[CL 4398701 by Marc Audy in Dev-Framework branch]
2018-09-26 12:30:16 -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