74 Commits

Author SHA1 Message Date
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
tyson brochu
d5364aa75a GraphEditor: add a new delegate that is called when the user single-clicks on a node
Cloth Editor: fix for interactive tool starting when the user drags a node in the dataflow graph editor


#jira UE-190816
#rb daren.cheng alex.mcadams

[CL 26547957 by tyson brochu in ue5-main branch]
2023-07-24 12:55:46 -04:00
kevin ortegren
0fdb62b687 Expose single click action within SGraphPanel to allow hooking custom logic
#rb JeanMichel.Dignard
#preflight 64764fb58137a37b8558e9bc
#p4v-cherrypick 25675485

[CL 25686356 by kevin ortegren in ue5-main branch]
2023-05-30 16:07:48 -04:00
Sebastien Hillaire
12875a6491 Substrate - Editor HUD upgdate.
#preflight https://horde.devtools.epicgames.com/job/6448f21cf451a62211e8eef3
#rb none
#fyi charles.derousiers

[CL 25195523 by Sebastien Hillaire in ue5-main branch]
2023-04-26 06:16:31 -04:00
dan oconnor
2534a73014 Remove needless BroadcastChanged calls, which refresh the entire graph of a blueprint, from various nodes. Add GRAPHACTION_EditNode to synchronously update a node's SGraphNode after a change is made.
Also requires 24595399

#jira UE-158391
#preflight 640f706e0e1f02786bf205d8
#rb Ben.Hoffman

[CL 24623042 by dan oconnor in ue5-main branch]
2023-03-13 17:52:48 -04:00
bryan sefcik
925161d3e2 Another IWYU pass on Engine/Source/Editor/...
#jira

[CL 21716486 by bryan sefcik in ue5-main branch]
2022-08-30 23:04:40 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
jordan hoffmann
f2957e798a [Bug Fix] Navigating the Event Graph in Blueprint Diff window causes visual snapping issues
#jira UE-156552
#rb Phillip.Kavan
#preflight 62b245a4e9509b62d927a108
#preflight 62b24d09604d9ccfc7422282

[CL 20767743 by jordan hoffmann in ue5-main branch]
2022-06-21 19:07:19 -04:00
jordan hoffmann
ff6648b05f [BugFix] BP_Diff data flow changes
- because the graphs were being diffed in two different ways - once to generate the list and once to determine how to render the nodes, there were some differences in the diff behavior that caused certain nodes to not render as diffed even though they showed up in the list. this change uses the same diff list for both now so there shouldn't be any differences anymore

- This also solves an issue that caused highlighted pins from Blueprint Diff to persist to the blueprint itself. Now all visual modifications made by the diff viewer only appear in the diff panels rather than the main graph
#jira UE-93061
#preflight 62a256ef2469f462fdd9c693
#rb daren.cheng

This change sets up for future style changes allowing for us to render nodes in the diff graph based on their diff type. There are no style changes in this CL however.

[CL 20584624 by jordan hoffmann in ue5-main branch]
2022-06-09 16:44:27 -04:00
justin hare
3ffeff5ead Fixes crash when closing BP graph editor windows that haven't been moved or manipulated in certain ways
#jira UE-153271
#fyi jordan.hoffman
#rb none (trivial)
#preflight none (trivial)
#rnx

[CL 20293577 by justin hare in ue5-main branch]
2022-05-20 09:35:15 -04:00
jordan hoffmann
c976ed5a3a [Bug Fix]: Clicking an Add or Removed entry in the blueprint diff tool only moves one of the views.
- The SNodePanel deferrs some of it's panning to future frames which was causing locked graphs in the diff tool to become out of sync. To solve this, I wait until the SNodePanel has finished finding it's target before setting locked graphs on the same trajectory

#jira UE-150557
#rb Marc.Audy, Brooke.Hubert, Lauren.Barnes, Vincent.Gauthier
#preflight 6286cc16cf5ac7317c47235d

[CL 20288942 by jordan hoffmann in ue5-main branch]
2022-05-19 19:12:34 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
sebastian nordgren
9f571a3e15 Added "Break This Link" command to graph editor, which is displayed instead of the "Break Link..." submenu when there's only one link to display.
Fixed various Title Case errors in graph editor command names.

#review-18238003 @lauren.barnes
#preflight 619b8f30f934c1a291ceaa0b

[CL 18258594 by sebastian nordgren in ue5-main branch]
2021-11-22 10:13:04 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
jack cai
f9daf8ee80 Control Rig: Added Control Rig Context Menu Context to GraphNodeContextMenu + Added GraphPanel specific context to ControlRigContextMenuContext
#ROBOMERGE-SOURCE: CL 16776954 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16776970 by jack cai in ue5-release-engine-test branch]
2021-06-24 15:09:00 -04:00
helge mathee
c3b5994add Control Rig: Improve zoom level and add ground for collision testing
#jira UE-114194 UE-115039
#rb audit

#ROBOMERGE-SOURCE: CL 16365184 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228)

[CL 16365187 by helge mathee in ue5-release-engine-test branch]
2021-05-18 06:45:25 -04:00
lauren barnes
3553779a26 Material and Material Instance editors update v1.0
#jira UETOOL-2624
#jira UETOOL-2623
#rb Louise.Rasmussen

#ROBOMERGE-SOURCE: CL 15528734 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15528756 by lauren barnes in ue5-main branch]
2021-02-25 11:30:03 -04:00
jack cai
9d69a05d75 Control Rig: Added Right Click Node Alignment Menu and Use Schema for Distribute Node positions, tested basic functionality, undo/redo, save/load, in both CR editor and BP Editor
#jira UE-97984
#rb Helge.mathee, matt.kuhlenschmidt

[CL 15179153 by jack cai in ue5-main branch]
2021-01-25 12:47:08 -04:00
danny chapman
f9cfe6a701 Fixes problem with not being able to navigate up in event/anim graphs using PageUp.
Adds shortcut of double-click to navigate up. Disabled by default for now - see the BlueprintEditor settings to enable & send feedback

#jira UE-105149
#rb thomas.sarkanen,phillip.kavan

[CL 15082887 by danny chapman in ue5-main branch]
2021-01-14 08:03:53 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Zousar Shaker
77d13185b7 Copying //UE5/Dev-Cooker@14539516 to Main (//UE5/Main)
[CL 14539954 by Zousar Shaker in ue5-main branch]
2020-10-21 17:56:05 -04:00
brooke hubert
a708a4c757 Multiple entries per graph are visible again in pin context menu.
#rnx
#Jira UE-97596
#rb daren.cheng

#ROBOMERGE-SOURCE: CL 14278020 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v724-14254601)

[CL 14278031 by brooke hubert in ue5-main branch]
2020-09-09 07:21:24 -04:00
brooke hubert
77efd76195 Edigrate CL 14268540 from UE4 Main
Fix crashes related to context menu for graph links.

#jira UE-97900
#Jira UE-98090
#rb rex.hill
[FYI] [at]brooke.hubert

#ROBOMERGE-SOURCE: CL 14274408 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v724-14254601)

[CL 14274411 by brooke hubert in ue5-main branch]
2020-09-08 16:52:35 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00