Commit Graph

1585 Commits

Author SHA1 Message Date
tim smith
af243577b4 Fixed global delegate functions to support changes when doing live coding.
Fixed issue where changing a function signature in an interface wouldn't update nodes in a blueprint.
Changed the API of the deferred registry to be more inline with UE coding standards.

#rb ben.marsh phillip.kavan
#rnx
#jira UE-113662
#preflight 60c0c0fdc61264000190e16a

#ROBOMERGE-SOURCE: CL 16606206 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606221 by tim smith in ue5-release-engine-test branch]
2021-06-09 11:43:12 -04:00
tim smith
cdc67d2532 Fix issue where a property get/set node fails to refresh after the reference class is re-instanced via Live Coding
#rb marc.audy
#rnx
#preflight 60c0a4eb1264df00015316a4

#ROBOMERGE-SOURCE: CL 16604100 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16604170 by tim smith in ue5-release-engine-test branch]
2021-06-09 09:38:30 -04:00
sara schvartzman
8b05c64393 ControlRig: Restrict variable types to allowed CR types
#jira UE-116908
#rb helge.mathee

#ROBOMERGE-SOURCE: CL 16601558 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16601566 by sara schvartzman in ue5-release-engine-test branch]
2021-06-09 04:45:19 -04:00
jordan hoffmann
3dc363cb5d Fix: Outer Pin of Construct Object from Class should not have an asset picker
- changed pin visual to a "self" style
- made pin default to "self" if there's nothing connected to it
#jira UE-43152
#rb ben.hoffman
#p4v-cherrypick 16552999

#ROBOMERGE-SOURCE: CL 16582225 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16582226 by jordan hoffmann in ue5-release-engine-test branch]
2021-06-07 22:20:42 -04:00
jordan hoffmann
4b964ea1f7 Fix: Outer Pin of Construct Object from Class should not have an asset picker
- changed pin visual to a "self" style
- made pin default to "self" if there's nothing connected to it
#jira UE-43152
#rb ben.hoffman
#p4v-cherrypick 16552999

[CL 16582225 by jordan hoffmann in ue5-main branch]
2021-06-07 22:20:27 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
sara schvartzman
a004ea816a ControlRig: Adding local variables to CR graphs UI
#jira UE-110373
#rb helge.mathee

[CL 16568265 by sara schvartzman in ue5-main branch]
2021-06-07 06:49:07 -04:00
Ben Woodhouse
a90e2a24e3 Back out CL 16552999 due to cook failures
#jira UE-117352
#fyi jordan.hoffman

[CL 16565883 by Ben Woodhouse in ue5-main branch]
2021-06-06 10:57:10 -04:00
jordan hoffmann
4e71a692e3 Fix: Outer Pin of Construct Object from Class should not have an asset picker
- changed pin visual to a "self" style
- made pin default to "self" if there's nothing connected to it
#jira UE-43152
#rb ben.hoffman

[CL 16552999 by jordan hoffmann in ue5-main branch]
2021-06-03 16:55:24 -04:00
aurel cordonnier
43fa62fcd8 Merge from Release-Engine-Test @ 16487383 to UE5/Main
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16488106 by aurel cordonnier in ue5-main branch]
2021-05-27 13:40:37 -04:00
ben hoffman
bc7c168058 During compilation of an Anim BP, if this node gets pruned then the outer will be the /Engine/Transient/ package, which will result in this node not having a valid SelfContext, so there is no need to set any further information based on this function as it will not be used.
This prevents an Ensure being hit in UK2Node_CallFunction::SetFromFunction which will cause cook failures.

#jira UE-116112
#rb phillip.kavan
#rnx
#preflight 60a579d3a5fa6d00013a749b

#ROBOMERGE-SOURCE: CL 16394619 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v804-16311228)

[CL 16399667 by ben hoffman in ue5-main branch]
2021-05-20 03:38:47 -04:00
aurel cordonnier
e31ae6ee1f Fix CIS no unity errors
#rb trivial

[CL 16390334 by aurel cordonnier in ue5-main branch]
2021-05-19 14:53:17 -04:00
Thomas Sarkanen
ceee4ecac6 Added the concept of thread safe Blueprint functions
Either enabling the 'thread safe' checkbox for a function or overriding an already thread safe (either native or BP) function will enable compile-time checking for thread safety.
Checks are based around the complied statement list rather than the bytecode itself.

#rb Phillip.Kavan,Jurre.deBaare

[CL 16382389 by Thomas Sarkanen in ue5-main branch]
2021-05-19 04:47:35 -04:00
ben zeigler
a2f4448f56 #jira UE-110253 Add tooltips to warn users that cast nodes or soft references to BP classes can cause expensive BP references
#rb None

[CL 16375524 by ben zeigler in ue5-main branch]
2021-05-18 16:40:24 -04:00
ben zeigler
aa63587e94 #jira UE-113830 Fix it so custom events bound to delegates copy their default values over as long as the signature doesn't change
This fixes confusing UI behavior where it would dirty the blueprint as you saved it, and keeps function defaults that were set before being connected to a delegate
#rb phillip.kavan

[CL 16373685 by ben zeigler in ue5-main branch]
2021-05-18 15:14:41 -04:00
Thomas Sarkanen
19cfad9ac3 Back out 16367405
[CL 16368980 by Thomas Sarkanen in ue5-main branch]
2021-05-18 12:06:38 -04:00
Thomas Sarkanen
4b80949f13 Added the concept of thread safe Blueprint functions
Either enabling the 'thread safe' checkbox for a function or overriding an already thread safe (either native or BP) function will enable compile-time checking for thread safety.
Checks are based around the complied statement list rather than the bytecode itself.

#rb Phillip.Kavan,Jurre.deBaare

[CL 16367405 by Thomas Sarkanen in ue5-main branch]
2021-05-18 10:41:11 -04:00
Tim Smith
0d25892ca9 Fixing issue with ScriptStructs and Enumerations appearing in the blueprint editor that have already been re-instanced. This resulted in a crash with ScriptStructs. Also fixed issue with changes to default values in a script struct not being refected in the blueprint nodes.
#rb marc.audy
#rnx
#jira UE-115768
#preflight 60a3a53aae0db00001ba6c8c

[CL 16365503 by Tim Smith in ue5-main branch]
2021-05-18 08:12:55 -04:00
ben zeigler
6c301cae85 #jira UE-2848 Blueprint function category and display name cleanup pass:
Add spaces to overridden display names, it doesn't add them automatically
Move some functions out of Utilities into their own categories like Transformation, this improves the UX for the node picker and Utilities is for Core functionality
Simplify and combine some redundant categories
Clean up functions like IsValid to specify the type and attempt to unify case for math functions
#rb ben.hoffman

[CL 16355176 by ben zeigler in ue5-main branch]
2021-05-17 13:26:33 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
ben zeigler
7cc5e791eb #jira UE-103154 Auto-promote Set Struct Member node to default category so it's next to Break struct in node menu, and refactor logic into StructOperation
Promote Resolve Soft Reference to the default category and change title to Make when going the opposite direction
Move the UDN documentation node out of the top level category because end users never want it
#rb ben.hoffman

[CL 16270114 by ben zeigler in ue5-main branch]
2021-05-11 10:58:41 -04:00
ben zeigler
ed8b949720 #jira UE-69931 Tweaks to blueprint editor context menu:
Fix bug where it was failing to separate the category from translated description which caused false matches
Fix it to strip the "Class" from category description, this was prioritizing interface functions too high
Change the way the shorter length weight works by giving a bonus for matching short words instead of penalizing for irrelevant long words
Changed all word match bonuses to use the best one so redundant keywords like "add add" don't get prioritized and lower percentage match weight
Bump the description weight if there are no keywords, and minor weight tweaks in general
#rb ben.hoffman

[CL 16256919 by ben zeigler in ue5-main branch]
2021-05-10 18:06:03 -04:00
ben hoffman
fbebec296f Refresh a call function node on NotifyPinConnectionListChanged to get the correct literal text box values after propegation of the array type.
#jira UE-47103
#rb phillip.kavan
#rnx
#preflight 609476e7db4191000193ce63

[CL 16236384 by ben hoffman in ue5-main branch]
2021-05-06 23:57:51 -04:00
Matt Peters
c0e9099a1f #jira UE-114872
Fix merge error with missing if (Function) test that allowed Function->HasMetaData call to be made on nullptr.
#rb Jurre.deBaare
#rnx

[CL 16208269 by Matt Peters in ue5-main branch]
2021-05-05 11:55:36 -04:00
ben hoffman
83b70d39d7 Update comments about disallowing containers for promotable operators
#jira none
#rnx
#rb me

[CL 16193989 by ben hoffman in ue5-main branch]
2021-05-04 11:03:15 -04:00