Commit Graph

484 Commits

Author SHA1 Message Date
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
dan oconnor
2f7acbc36a Cleanup pin type selector, improving performance in large projects.
#rb Phillip.Kavan
#jira UE-204415

[CL 30909986 by dan oconnor in ue5-main branch]
2024-01-25 19:48:54 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
graham matuszewski
7061b1ccc0 Allow for UObject Macro Libraries to use functions that require a world context.
If a UObject MacroLibrary goes to use a function that requires a world context then it will show the input pin for the world context just like it would if it were a blueprint function library.
The input pin for the WorldContext can be manually provided by the user by dragging the right reference and passing that into the Macro, but the Macro will also just auto grab the world from the caller if they have a valid world context. if they do not have a valid world context, then an error will be shown in the called at compile time.

#jira UE-203743 UE-22946
#rb dan.oconnor

[CL 30643242 by graham matuszewski in ue5-main branch]
2024-01-16 15:35:24 -05:00
zhikang shao
5a4f3dadcf #jira UE-196209
Improves "Find References" in blueprints: now supports function search by [class, function] call-sites and definitions rather than a generic search for function name. Replaces the "Find References" context menu action with a sub-menu for variables and functions in BlueprintEditor, WidgetBlueprintEditor, SubobjectEditor and SubobjectEditor. That context sub-menu has 'By Name' and 'By Class Member' search options and local+global versions of both.

Made changes to Find-in-Blueprints metadata that is generated per blueprint asset to be able to do "specific function of a specific class" type queries; some search types were unsupported with previous metadata. Incremented the EFiBVersion so that the Find-in-Blueprints search window will ask to re-index all blueprints and resave. Added an opt-out editor setting "Allow Index All Blueprints" (default: true) to disable the button, which can be decided per project. Added an action in the Find-in-Blueprints modal when outdated metadata is detected to export the list of affected assets.
#rb Phillip.Kavan

[CL 30316851 by zhikang shao in ue5-main branch]
2023-12-14 06:34:39 -05:00