Commit Graph

899 Commits

Author SHA1 Message Date
charles derousiers
265be512df Fix CIS issue.
#rb none

[CL 27751750 by charles derousiers in ue5-main branch]
2023-09-11 09:52:57 -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
charles derousiers
3bbd7deffc Fix Substrate topology visualization on Coverage operator.
#rb none
[FYI] sebastien.hillaire

[CL 27729427 by charles derousiers in ue5-main branch]
2023-09-08 17:23:33 -04:00
charles derousiers
3c5257ff84 Fix Substrate data pin color on node with several inputs.
#rb none

[CL 27696793 by charles derousiers in ue5-main branch]
2023-09-07 20:04:49 -04:00
fpwong
2b3677e680 PR #10747: Fix issue where graph pin hovered state becomes stuck after drag event
#jira UE-192754
#rb daren.cheng

[CL 27614486 by fpwong in ue5-main branch]
2023-09-05 17:42:18 -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
sebastien hillaire
fc45c02460 Substrate - renaming - renamed to MCT_Substrate
#rb charles.derousiers

[CL 27593807 by sebastien hillaire in ue5-main branch]
2023-09-05 08:51:11 -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
sebastien hillaire
eff56c2a11 Substrate - Renaming - Strata class redirection to Substrate class.
#rb none
[FYI] charles.derousiers

[CL 27518277 by sebastien hillaire in ue5-main branch]
2023-08-31 07:55:22 -04:00
charles derousiers
98b2687a22 Fix CIS non-unity build.
#rb none

[CL 27515646 by charles derousiers in ue5-main branch]
2023-08-31 05:24:50 -04:00
charles derousiers
38bf8fb30e Fix CIS unity build issue.
#rb none

[CL 27515351 by charles derousiers in ue5-main branch]
2023-08-31 05:00:46 -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
sebastien hillaire
b7f8af4297 Substrate - Rename/move file(s)
#rb none
[FYI] charles.derousiers

[CL 27515000 by sebastien hillaire in ue5-main branch]
2023-08-31 04:48:07 -04:00
sebastien hillaire
4f274d1ef3 Substrate - Rename/move file(s)
#rb none
[FYI] charles.derousiers

[CL 27514986 by sebastien hillaire in ue5-main branch]
2023-08-31 04:47:50 -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
Mateo Egey
3d5afe2ae9 Made the title border margin configurable via protected member
#jira none
#rb patrick.boutot

[CL 27485897 by Mateo Egey in ue5-main branch]
2023-08-30 11:35:14 -04:00
Mateo Egey
c0bdf180d5 Graph Nodes can now specify what overflow policy to use for the node title
#jira none
#rb

[CL 27443290 by Mateo Egey in ue5-main branch]
2023-08-29 09:23:12 -04:00
sara schvartzman
20fd023194 RigVM: Fix crash when clicking on pin of default node in details panel
#jira UE-189034
#rb helge.mathee
#rnx

[CL 27071658 by sara schvartzman in ue5-main branch]
2023-08-14 11:33:22 -04:00
kirill zorin
e1d4ae74ed Preemprively fixing compile errors ahead of API deprecation.
#rb trivial

[CL 26785872 by kirill zorin in ue5-main branch]
2023-08-02 16:05:28 -04:00
geordiemhall
57ee928f20 PR #9389: Allow using "spawn node" keyboard shortcuts while dragging from a pin
#jira UE-159588

[CL 26780272 by geordiemhall in ue5-main branch]
2023-08-02 14:08:05 -04:00
dan oconnor
2113776926 Fix ensure after a drag enter handler runs after a mouse down handler has invalidated the graph
#rb Jodon.Karlik
#jira UE-187287

[CL 26749417 by dan oconnor in ue5-main branch]
2023-08-01 15:06:21 -04:00
luc rosenzweig
47187a5b36 Added copyright boilerplate to SGraphNodeMaterialCustom.cpp
#jira UE-146779
#rb jason.nadro

[CL 26678553 by luc rosenzweig in ue5-main branch]
2023-07-28 13:24:36 -04:00
luc rosenzweig
c9eb19e6cd This changelist contains both a refactor of the material graph system, as well as an improved custom HLSL node.
The first series of changes relate to modifying the way that SGraphNode* inheritants are created. Previously, NodeFactory was responsible of creating the SGraphNode* inheritants based on some runtime type checking (which basically means a series of if statements checking if the passed in pointer is of a certain child class type). Now, the UMaterialGraph* inheritants (the controller classes in the MVC paradigm of the material graph) are responsible for creating their own UI components (SGraphNode* inheritants). This just means that we now polymorphically create the proper SGraphNode* for the given UMaterialGraph* inheritant.

This refactor allows us to more flexibly create a variety of nodes types instead of relying on SGraphNodeMaterialBase as a one size fits all solution, leading to the new HLSL custom node. Previously, this node didn't support showing the syntax-highlighted code inline in the node itself. Because we now use polymorphism to create the nodes, it was very easy to create new UMaterialGraph* and SGraphNode* inheritants to support this new change.

Other changes which relate to propagating changes (to affect previews) in MaterialGraphNode.cpp are needed because there previously wasn't the mechanism to do so (which may have been a bug). For instance, suppose you had a constant vector3 feeding into a custom HLSL node which just outputs the color coming from that constant vector3 node. It would be obvious that changing the vector3, requires a preview update of the HLSL node. However, that wouldn't happen - the preview on the HLSL node just stayed the same. These changes addresses that issue.

There is one last series of changes which relates to collapsing the HLSL code in the node. We want to make sure that this change doesn't mess up the layouts of artists' already made material graphs which use the custom HLSL node. In order to address this, we added the ability to collapse the code in order to hide it. Furthermore, we had to make sure that projects which previously used a custom HLSL node, have the code collapsed by default (because it wasn't there before). However, creating a new HLSL node once this change comes in, would yield an uncollapsed node. The collapsing of nodes uses the "Advanced Pins" chevron/collapser which doesn't save its state after saving and exiting the material. It was crucial, in order to preserve the layout of the material graph, that the saving happens. However, previously, the only way to save state, was to go through a recompile/regeneration of the previews. Therefore, it was necessary to add a special function in the material editor utilities which would just mark the material as dirty such that states like whether the code was collapsed save throughout sessions.

#jira UE-146779
#rb jason.nadro

[CL 26677757 by luc rosenzweig in ue5-main branch]
2023-07-28 13:01:00 -04:00
jordan hoffmann
91c069406a [BugFix] False positive "Link Moved" diff callouts on Blueprint Diff tool
#jira UE-186242
#rb dan.oconnor, jodon.karlik

[CL 26558817 by jordan hoffmann in ue5-main branch]
2023-07-24 18:55:16 -04: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