Commit Graph

1557 Commits

Author SHA1 Message Date
Thomas Sarkanen
44bfa61e56 Split pin building logic up for UK2Node_StructMemberSet
Tweak to allow UK2Node_StructMemberSet to rebuild pins in a more optimal way for large sparsely-connected structs that are built by the anim BP compiler

#rb Phillip.Kavan

[CL 16048961 by Thomas Sarkanen in ue5-main branch]
2021-04-19 04:58:20 -04:00
ben hoffman
8a891c8d27 Correctly restore the default values of math nodes when running them through the BP editor library for an upgrade.
#jira UE-103471
#rb trivial
#rnx
#preflight 6078b0e24865a70001234007

[CL 16027434 by ben hoffman in ue5-main branch]
2021-04-15 18:15:07 -04:00
ben hoffman
d6b2f51edc Add a return value to have better messaging when replacing nodes with the BP editor library. Change a debug if statement that would refresh all actions upon upgrading, which is no longer needed. Reset promotable operators with no connections to wildcard state when upgrading for a more cohesive upgrade.
#jira UE-103471
#rb trivial
#preflight 607723921fa9990001cb3956
#preflight 60773204ba38cf0001be43dd

[CL 16010009 by ben hoffman in ue5-main branch]
2021-04-14 15:04:17 -04:00
mark lintott
bd61859350 #jira 112822
#rb johan.torp
Removal of UE4 references in Archive.h

[CL 16002350 by mark lintott in ue5-main branch]
2021-04-14 05:14:13 -04:00
Phillip Kavan
31f3a4b21d Check for a valid Blueprint before attempting to refresh the local variable reference cache on function entry nodes.
#rnx
#rb None (trivial)
#jira UE-113333, UE-110607

[CL 15992958 by Phillip Kavan in ue5-main branch]
2021-04-13 15:11:42 -04:00
Tim Smith
ff1048a3a7 Added new ReloadEnum method to the NodeDependingOnEnumInterface which will be utilized by the reload system to notify the node that the enumeration has been reloaded and that the given enum is the new address of the enum.
#rb phillip.kavan
#rnx
#preflight 6075cfa00a49b700011f10a3

[CL 15992752 by Tim Smith in ue5-main branch]
2021-04-13 14:52:21 -04:00
Phillip Kavan
2512da2ee5 Fix resolving local variable asset references on load to the function entry node's variable cache for override implementations.
#jira UE-110607
#rb Ben.Zeigler

[CL 15979265 by Phillip Kavan in ue5-main branch]
2021-04-12 12:53:03 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
marc audy
7334412342 Consider the split pins of the transform pin as spawn vars
#rb Phillip.Kavan
#jira UE-112520
#lockdown Nick.Whiting

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 15948942 via CL 15948975 via CL 15948981 via CL 15951918
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v787-15839533)
#ROBOMERGE[STARSHIP]: Release-5.0-EarlyAccess

[CL 15951921 by marc audy in ue5-main branch]
2021-04-08 00:25:01 -04:00
ben hoffman
1196a92afd Only compare the pin category, subcategory, and subcategory object when considering connections to break. This stops the member reference being different causing a break
#jira UE-112716
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 15903632 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15907204 by ben hoffman in ue5-main branch]
2021-04-02 20:18:12 -04:00
marc audy
6796dc557c Undo fix for UE-94768 as it created worse bug
#jira UE-111353, UE-111557
#rb
#lockdown Nick.Whiting

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-COMMAND: _robomerge Release-5.0-EarlyAccess
#ROBOMERGE-SOURCE: CL 15749181 in //UE4/Release-4.26/... via CL 15749212 via CL 15749225 via CL 15749234 via CL 15755181
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Main) (v786-15839533)
#ROBOMERGE[STARSHIP]: Release-5.0-EarlyAccess

[CL 15897773 by marc audy in ue5-main branch]
2021-04-01 19:38:55 -04:00
ben hoffman
b4eac425d5 Fix "ctrl + drag" shortcut on promotable operators with multiple connections
Instead of always breaking the links witha promotable connection at the schema level, only break links if the most recent connection is a different type then before. This stops incorrect breaking of valid connections when there are multiple at a time while keeping a good UX.

#jira UE-109809
#rb phillip.kavan
#rnx
#preflight 6063773d4bf1970001c9b871

#ROBOMERGE-SOURCE: CL 15867103 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15867122 by ben hoffman in ue5-main branch]
2021-03-30 16:00:00 -04:00
Matt Peters
c3f0e0d5fb Change presave prototype:
Add PRAGMA_(DIS/EN)ABLE_DEPRECATION_WARNINGS around the deprecated function overrides and restore the deprecation attribute on the deprecated PreSave functions.
#rnx
#rb Steve.Robb, Devin.Doucette

[CL 15861711 by Matt Peters in ue5-main branch]
2021-03-30 10:01:48 -04:00
mark lintott
11a12136ce #jira UE-111647
#rb johan.torp
GetLinkerUE4Version renamed to GetLinkerUEVersion

#ROBOMERGE-SOURCE: CL 15859222 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15859586 by mark lintott in ue5-main branch]
2021-03-30 06:44:49 -04:00
ben hoffman
5821839474 Do not allow marco nodes to have breakpoints placed on them
#jira UE-101005
#rb fred.kimberley

#ROBOMERGE-SOURCE: CL 15854917 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15857225 by ben hoffman in ue5-main branch]
2021-03-29 20:49:24 -04:00
ben hoffman
afd3a2ef6c Properly expand DefaultToSelf pins within Asyc Task nodes
#jira UE-97884
#rb phillip.kavan

#ROBOMERGE-SOURCE: CL 15853352 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15854575 by ben hoffman in ue5-main branch]
2021-03-29 15:53:41 -04:00
Matt Peters
e9982b416b Change presave prototype: temporarily remove deprecation to find the discrepancy with the farm build vs my local build.
#rb None - trivial
#rnx

[CL 15835892 by Matt Peters in ue5-main branch]
2021-03-25 19:39:18 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00
Zousar Shaker
0936533c5e Undo //UE5/Main/Engine/Source/... changelist 15738448
[CL 15741080 by Zousar Shaker in ue5-main branch]
2021-03-18 16:13:13 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Zousar Shaker
d01a4294a1 Undo //UE5/Main/Engine/Source/... changelist 15717347
[CL 15738448 by Zousar Shaker in ue5-main branch]
2021-03-18 11:37:03 -04:00
Tim Smith
a2237e050d LiveCoding Re-instancing
LIMITATIONS:

1) Re-instancing will only update UClass instance data.
2) Adding and removing properties should only be done towards the end of a class or structure and can not be followed by complex data types.
3) Adding and removing properties from a base class should not be done if a derived class contains complex data types.

KNOWN ISSUES:

1) Changes to enumerations and structures will not be reflected in existing blueprints.  However, adding new nodes to the blueprint will show the updated enumeration or structure.
2) If a class contains an enumeration or structure as a member, the class will not be re-instanced if enumeration or structure is changed.

CHANGES:

1) LiveCodingServer
1a) Modified to always execute certain static instances during load.
1b) Modified to exclude the _Statics static structures to avoid patching to old copies.

2) Added support for LiveCoding reinstancing
2a) Refactored deferred registration system for UClass, UEnum, and UScriptStruct to use a common system that works for normal game, hot reload and live coding.
2b) Type specific version check data is possible (i.e. enum doesn't have a size)
2c) Single registration static for UClass
2d) Single registration class for all types that is just a blind forward to API.
2e) Static and dynamic registrations use different API entry points to avoid having overloaded argument lists that just apply to one or the other.
2f) Shims for older API

3) New common "Reload" system to avoid using HotReload code.
3a) Support common delegates regardless of who is reloading/reinstancing.
3b) Re-instancing code moved from HotReload to Kismet2 (where the bulk of the re-instance code already existed).
3c) Modified PyWrapper to use new helper class instead of depending on HotRelaod
3d) Added WITH_RELOAD which is defined if HotReload or LiveCoding is enabled.
3e) Modifed existing code to use new #define and delegates.

Robert did the review on the changes covered by Part 2.  Remaining changes are all straightforward.

#rb robert.manuszewski
#jira UE-74493

[CL 15736777 by Tim Smith in ue5-main branch]
2021-03-18 08:13:59 -04:00
phillip kavan
ac48fe8a3e Add imported namespace filtering to pin type selection in the Blueprint editor.
Change summary:
- Added IPinTypeSelectorFilter.
- Extended SPinTypeSelector to support an optional custom filter attachment and filtered item count.
- Implemented a custom filter to run pin type items through the active BP editor's imported namespace list.
- Exposed a custom filter option to allow the user to toggle namespace filtering on/off across all pin type selectors inside the current BP editor context. Currently does not persist across editor sessions (similar to how the context menu works atm).

Notes:
- Selector widgets will appear unchanged, until BP.EnableNamespaceFilteringFeatures CVar is switched on.
- Currently no engine/QAGame types are namespaced, so filter has no visible effect outside of FortniteGame.

#jira UE-108316
#rb Ben.Hoffman
[FYI] Michael.Noland

#ROBOMERGE-SOURCE: CL 15725305 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15727218 by phillip kavan in ue5-main branch]
2021-03-17 13:43:46 -04:00
Zousar Shaker
6a5fc5286d Allow object references on the pin defaults of a blueprint graph to be handled as wrapped object pointers to assist in lazy loading in editor.
#rb marc.audy
#preflight 6051497d03c5190001a2f3c6

[CL 15717347 by Zousar Shaker in ue5-main branch]
2021-03-16 21:06:19 -04:00
ben hoffman
e014f2974f Set the source path of the blueprint compiler log when pasting nodes correctly. This stops an ensure within FPackageName::DoesPackageExist when given an empty package name.
#jira UE-110327
#rb michael.noland
#rnx

#ROBOMERGE-SOURCE: CL 15671261 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15671267 by ben hoffman in ue5-main branch]
2021-03-10 19:05:49 -04:00