Commit Graph

324 Commits

Author SHA1 Message Date
dave jones2
73d6c12907 Deprecated bIsBeadFunction.
This was a really old feature that never took off. It's not needed anymore.

#rb dan.oconnor

[CL 30718919 by dave jones2 in ue5-main branch]
2024-01-19 12:19:18 -05:00
zulqarnain abbasi
15d196a910 Fix for Texture Graph Undo Redo Issues
Also added the tests for undo redo

#jira UE-203475
#jira UE-203476
#jira UE-201944
#jira UE-202697


#rb Zohaib.Javed

[CL 30637460 by zulqarnain abbasi in ue5-main branch]
2024-01-16 12:59:55 -05:00
mateo egey
42d515886c Added slate argument to automatically select an action in the graph action menu when only one action exists.
Defaults to off to save perf. Useful for some Niagara cases

#jira UE-144291
#rb aditya.ravichandran

[CL 30617677 by mateo egey in ue5-main branch]
2024-01-15 08:46:24 -05:00
zahra nikbakht
114a0d681f GraphEditor: ensure the correct LOD is applied to graph node and pins before the first tick.
We rely on the LOD setting of the graph panel to determine the LOD of nodes and pins, but they only get a reference to the panel after their construction, so we need to refresh the LOD once we get a reference to the owning panel from the node. This is only needed before the first tick.
This is a prerequisite to fix the issue of graph nodes disappearing for a frame on undo/redo
#jira UE-187947
#rb Patrick.Boutot

[CL 30514055 by zahra nikbakht in ue5-main branch]
2024-01-09 15:02:34 -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
zhikang shao
15c016080d [Backout] - CL30289707
[FYI] zhikang.shao
Original CL Desc
-----------------------------------------------------------------
#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 30289794 by zhikang shao in ue5-main branch]
2023-12-13 07:33:50 -05:00
zhikang shao
68c300ecfa #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 30289718 by zhikang shao in ue5-main branch]
2023-12-13 07:25:05 -05:00
ben humphreys
e9c9ac7a74 Added binding to create a new Custom Event Node. No binding by default. Similar to pressing C to create a new Comment Node.
#jira UE-200930
#rb Phillip.Kavan

[CL 30218170 by ben humphreys in ue5-main branch]
2023-12-08 15:12:30 -05:00
christopher waters
86af3ce99d Fixing various header only compile errors.
[CL 30138626 by christopher waters in ue5-main branch]
2023-12-05 17:55:30 -05:00
phillip kavan
239da03f7b Minor revision to SGraphPanel to decouple its refresh on updates to the underlying graph object from a dependency on a parent SGraphEditor.
This allows SGraphPanel widgets that live outside of an editor context (e.g. previews) to avoid node/pin references going stale if the underlying graph object is reconstructed.

#jira UE-194980
#rb daren.cheng

[CL 29963162 by phillip kavan in ue5-main branch]
2023-11-28 12:35:28 -05:00
dan oconnor
8f24616fb5 Blueprint editor marching ants (execution path) are now displayed for function library functions
#jira UE-201140
#rb Dan.Oconnor

[CL 29913823 by dan oconnor in ue5-main branch]
2023-11-23 15:53:33 -05:00
daren cheng
a82b866b00 Add support for layered Slate Post RT processing
---
Add PostBufferUpdate widget which can be used to trigger an update to the Slate Post RT when it "draws"
Updated Post RT will contain Scene + All UI drawn at that time & also be processed by provided processor.
Updated ICustomSlateElement interface to support draw context params.

#rb Patrick.Boutot
#jira UE-199609

[CL 29892909 by daren cheng in ue5-main branch]
2023-11-22 13:45:14 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
sameer mirza
03a436dda7 Fix node slider tweaking not updating texture graph
#rb sam.gateau
#jira UE-200093

[CL 29707635 by sameer mirza in ue5-main branch]
2023-11-14 03:12:12 -05:00
ben hoffman
b36f38d22e Fix BT decorator and service lists (and also some custom licensee graph implementations) put the first and second level category on the same level.
A very long time ago CL 2411381 introduced a change to make the default Base Indent Level of all Graph Action Menus "1", basically meaning that both "0" and "1" indent levels would be placed at the root of the menu. Presumably they've needed it, because in BPs, categories on the left side are custom headers, and they didn't want the children (functions, variables, etc) to have an extra indent.
However, they've made this change globally, basically breaking Graph Action Menus that didn't have category customization and needed the first level to be indented under the root level.
Some systems have overcome this by defining a custom expander with a Base Indent Level of 0 - getting back the original, expected behavior. That was however just hiding the underlying issue.
This change reverts back the Base Indent Level to 0, and sets it to 1 instead only for those menus, which have a customized category header. This should fix all graph menus where the second category level was not indented (i.e. BT Action Menu and Decorator Context Menu).

#rb aditya.ravichandran
#jira none

#ushell-cherrypick of 29515770 by kristof.morva1

[CL 29530311 by ben hoffman in ue5-main branch]
2023-11-07 15:20:10 -05:00
sameer mirza
c2d450ff01 use SGraphPinNumSlider instead of STG_GraphPinNum
#rb Zulqarnain.Abbasi
#jira UE-199524

[CL 29360464 by sameer mirza in ue5-main branch]
2023-11-02 07:18:31 -04:00
sameer mirza
95d81a81a5 Bug fix for inline node editing where entering 0 wasn't working as expected in some cases.
#jira UE-198550
#rb massimo.tristano

[CL 28961900 by sameer mirza in ue5-main branch]
2023-10-20 08:20:03 -04:00
sameer mirza
2d63804d3f Material Root node inline control updates
#jira UE-160029
#rb massimo.tristano

[CL 28924679 by sameer mirza in ue5-main branch]
2023-10-19 13:19:25 -04:00
sameer mirza
cb8d9da87a Tooltip on Links for Material Expressions
#jira UE-190993
#rb massimo.tristano

[CL 28919530 by sameer mirza in ue5-main branch]
2023-10-19 11:01:44 -04:00
sameer mirza
678a7d5a5a Material Root Node Inline Editting
Support for sliders

#jira UE-160029
#rb Massimo.Tristano

[CL 28373526 by sameer mirza in ue5-main branch]
2023-10-02 08:10:54 -04:00
charles derousiers
794ac57af6 Add substrate topology visualization for material function.
#rb none
[FYI] sebastien.hillaire

[CL 27751333 by charles derousiers in ue5-main branch]
2023-09-11 09:36:43 -04:00
ben hoffman
18eb67c78c Implement GetOptions for UPARAM and add it for ByProfile traces
#rb dave.jones2

#ushell-cherrypick of 27593453 by kristof.morva1

[CL 27597870 by ben hoffman in ue5-main branch]
2023-09-05 11:33:21 -04:00
marc audy
65de35fdfb Lof elements that were not renamed yet.
- MSM_Substrate
- MCT_Substrate
- FStrataMaterialInput

#rb charles.derousiers

[CL 27563163 by marc audy in ue5-main branch]
2023-09-01 15:06:19 -04:00
charles derousiers
195d4a8fe8 * Fix Substrate colored connection on input
* Add colored pin for Substrate data flow

#rb none
[FYI] sebastien.hillaire

[CL 27515051 by charles derousiers in ue5-main branch]
2023-08-31 04:49:11 -04:00
charles derousiers
fc598811b5 Add color Substrate wire.
#rb none
[FYI] sebastien.hillaire

[CL 27514913 by charles derousiers in ue5-main branch]
2023-08-31 04:46:18 -04:00