Commit Graph

1574 Commits

Author SHA1 Message Date
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
justin hare
725c33ba8c Fixed issue where blueprints derived from editor-only classes would not always show all possible actions in their right-click context menu on the Event Graph. One case was a user BP derived from AnimationModifier would be missing "Animation Blueprint Library" actions until it was force-saved (a fluke that happened to work around the true problem).
#jira UE-110383
#rb ben.hoffman
#preflight 60902582f0290d000161ea3b

[CL 16185268 by justin hare in ue5-main branch]
2021-05-03 13:19:43 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Francis Hurteau
6d04246937 Implemented PostPlacedNewNode for BreakStruct so that the Serialize function does not mutate the object during save
Moved the Serialize function mutation to PreSave as well as a precaution

#jira FROST-2374
#preflight 6089839dcbe34a0001dc3d9c

[CL 16145502 by Francis Hurteau in ue5-main branch]
2021-04-28 12:42:10 -04:00
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