488 Commits

Author SHA1 Message Date
ben zeigler
fc4832b020 Add the ability to set DeprecatedFunction="Note" (and DeprecatedVariable) metadata in C++ to lower the severity of a blueprint deprecation message.
Add a utility function and DeprecatedVariable static name to support this.
Use this to replace an old hack that ignored warnings for BeginSpawningActorFromBlueprint.
#jira UE-160577
#rb dan.oconnor

[CL 36448949 by ben zeigler in 5.5 branch]
2024-09-19 15:54:42 -04:00
jodon karlik
383187026f Removing the usage of "Friendly Names" from the Functions and (Event Graphs/Overrides Menu). This reverts a previous change which introduced consistency to the Friendly Names feature in those windows. The reasoning is that there is a long-term goal of removing Friendly Names entirely from the Editor. It interferes with the users being able to properly name their Functions/Events and have that name consistent through the interface. I have kept the Friendly Names when *calling* a function in Blueprints as well as the Blueprints Action list. The reasoning behind that is the nodes are very hard to decipher when zoomed out on the graph unless there are spaces between the names.
#jira UE-220228
#rb ben.hoffman
[FYI] will.strohmeyer

[CL 35120419 by jodon karlik in ue5-main branch]
2024-07-26 17:29:30 -04:00
jodon karlik
2bd2c525b3 Blueprint Editor "My Blueprint" now properly uses a Function's metadata DisplayName to list the function in the implementation list, rather than its actual code name.
Changed all listing of functions & events in the Blueprint editor to respect the global Editor Settings' bShowFriendlyNames boolean.  The interface now looks consistent with that choice.
Added the actual function name to the Tooltip so users do not get thrown off by DisplayNames suddenly changing their anticipated function names.

#rb ben.zeigler

[CL 34882601 by jodon karlik in ue5-main branch]
2024-07-17 15:57:50 -04:00
george rolfe
f319ed5c85 [UnrealEd] Moved several UFunction editor utilities from BlueprintGraph UK2Node_CallFunction to ObjectTools
#rb dave.jones2
#rnx

[CL 34729180 by george rolfe in ue5-main branch]
2024-06-27 20:20:20 -04:00
yoan stamant
938f456b05 Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34495793 by yoan stamant in ue5-main branch]
2024-06-19 08:00:57 -04:00
gary yuan
f85b2347ba [Backout] - CL34482589
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34486763 by gary yuan in ue5-main branch]
2024-06-18 20:05:51 -04:00
yoan stamant
b9344fb62e Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34482607 by yoan stamant in ue5-main branch]
2024-06-18 17:57:11 -04:00
kevin macaulayvacher
bc36ef6880 Remove usage of REN_ForceNoResetLoaders from the codebase since the flag has been deprecated. These removals all pertain to conditional use of the flag which usually ends up cleaning up the code a bit more than only removing the flag.
#rnx
#rb Francis.Hurteau

[CL 34375991 by kevin macaulayvacher in ue5-main branch]
2024-06-14 13:04:06 -04:00
j veilleux
c6d4b7b945 Added support for UPARAM AllowedClasses and ShowDisplayNames metadata.
[REVIEW] 34004351
#rb alex.thomson, Jamie.Dale, Justin.Moe, kevin.hamilton, Patrick.Boutot, Tom.Noonan

[CL 34074350 by j veilleux in ue5-main branch]
2024-06-03 15:39:09 -04:00
roey borsteinas
5e1fb14dbf Fixed another instance of a blueprint graph pin taking it's name from FText::FromString, causing cook time warnings due to missing localization.
#rb Francis.Hurteau

[CL 33685592 by roey borsteinas in ue5-main branch]
2024-05-16 09:37:10 -04:00
dan oconnor
2bf85d6782 Fix local variable scope after duplication - run post rename logic after the duplicated graph's name has been selected
#jira UE-214771
#rb ben.hoffman
[RN] Fixed compile error in a duplicated blueprint function after renaming a local variable in the originating function - run post rename logic after the duplicated graph's name has been selected

[CL 33611589 by dan oconnor in ue5-main branch]
2024-05-13 19:15:14 -04:00
dave jones2
2536c255c2 Removed display modes for "real" pin categories.
CL 19140882 added the ability to switch displays for "real" types. However, the de facto display is either "Float (single-precision)" or "Float (double-precision)". The other display modes simply confuse things.

#rb Phillip.Kavan
#rnx

[CL 33278439 by dave jones2 in ue5-main branch]
2024-04-26 16:40:19 -04:00
steve robb
92463911c8 Fixed mismatched printf format arguments.
#rb brandon.schaefer

[CL 33264801 by steve robb in ue5-main branch]
2024-04-26 11:02:47 -04:00
dan oconnor
7b535a45eb Deprecate FGraphActionListBuilderBase::ActionGroup, as it is redundant with FEdGraphSchemaAction. It was introduced to handle 'multi edit' but was never fully realized and contains redundant categorization fields that are inconsistently used in scoring of menu entries. What little categorization was being done on the action group is now properly done on the FEdGraphSchemaAction
#jira UE-211244
#rb jordan.hoffmann

[CL 33123756 by dan oconnor in ue5-main branch]
2024-04-19 19:47:31 -04:00
dave jones2
bf6cdf0039 UE-212762 - Blueprint Add Custom Event unable to resolve delegate signature inside a split struct
The pin splitting logic didn't propagate the underlying member reference for the function signature of a delegate. CreatePin doesn't handle this automatically, so we need to copy over the information manually.

#jira UE-212762
#rb Phillip.Kavan

[CL 33114365 by dave jones2 in ue5-main branch]
2024-04-19 15:58:32 -04:00
steve robb
b2c8108f4d Fixed a lot of unused or potentially-uninitialized variables, and also a couple of unreachable code warnings.
#jira UE-87511

[CL 33100122 by steve robb in ue5-main branch]
2024-04-19 08:32:16 -04:00
BenVlodgi
4a7851801d PR #11745: Remove unused line in EdGraphSchema_K2.cpp
#rb dave.jones2

[CL 32979317 by BenVlodgi in ue5-main branch]
2024-04-15 19:20:21 -04:00
alex kahn
593a09d09d [Backout] - CL32585960 - CIS Compile Error
#rnx
[FYI] Steve.Robb
Original CL Desc
-----------------------------------------------------------------
Added FUtf8StrProperty and FAnsiStrProperty.

#rb robert.manuszewski
#jira UE-204743

[CL 32590075 by alex kahn in ue5-main branch]
2024-03-28 15:39:39 -04:00
steve robb
33f991cfd9 Added FUtf8StrProperty and FAnsiStrProperty.
#rb robert.manuszewski
#jira UE-204743

[CL 32586529 by steve robb in ue5-main branch]
2024-03-28 14:26:59 -04:00
dan oconnor
4da6b7e553 Fix enum pins in the pin type selector, broken by 31223174, which failed to convert PC_Enum to PC_Byte
#rb Phillip.Kavan
#jira UE-206561

[CL 31396721 by dan oconnor in ue5-main branch]
2024-02-12 15:53:56 -05:00
vritvij kadam
ddb0b4a1bb Added support for autocast functions for objects to support their super classes
Example:

Class A {};
Class B : public A {};
Class C {};
Class D : public C{};

if auto cast from D to B exists, it means auto cast from D to A also exists
if auto cast from C to B exists, it means auto cast from D to B also exists

#rb dave.jones2, Justin.Moe, Phillip.Kavan

#changelist validated
#virtualized

[CL 31240206 by vritvij kadam in ue5-main branch]
2024-02-06 19:07:33 -05:00
dan oconnor
0b140f8ae6 Combine FUnloadedAssetData/FLoadedAssetData and various FPinTypeTreeInfo constructors, remove the intermediate 'type database', filter TypeTreeRoot in place, perform 'custom filtering' during filter step, rather than during 'children matching' search
#rb Phillip.Kavan
#jira UE-204415

#changelist validated
#virtualized

[CL 31223293 by dan oconnor in ue5-main branch]
2024-02-06 13:43:38 -05:00
dan oconnor
86b833615c One last cleanup of the pin type selector, avoid repeated FText::Rebuild calls to sort the pin lists, clarify the intent of FPinTypeTreeInfo constructors
#rb ben.hoffman
#jira UE-204415

[CL 31105955 by dan oconnor in ue5-main branch]
2024-02-01 17:31:37 -05:00
dan oconnor
1b378626e7 More pin type menu optimzations, avoid wandering back and forth between SoftObjectPath and AssetData
#jira UE-204415
#rb ben.hoffman

[CL 31057002 by dan oconnor in ue5-main branch]
2024-01-31 13:55:55 -05:00
ben hoffman
f104ff4d68 Do not show the "breakpoints" category in the right click context menu for K2Nodes if they cannot place a breakpoint. This prevents a useless empty category from being added.
#jira UE-112632
#rb dan.oconnor

[CL 30936397 by ben hoffman in ue5-main branch]
2024-01-26 14:51:50 -05:00