-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created UFlowGraphEditorSettings, SFlowGraphNode_SubGraph
followed by cosmetic tweaks of recent pull requests
- Loading branch information
1 parent
91ee21d
commit 524d0ab
Showing
13 changed files
with
220 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Source/FlowEditor/Private/Graph/FlowGraphEditorSettings.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "Graph/FlowGraphEditorSettings.h" | ||
|
||
#include "FlowAsset.h" | ||
|
||
UFlowGraphEditorSettings::UFlowGraphEditorSettings(const FObjectInitializer& ObjectInitializer) | ||
: Super(ObjectInitializer) | ||
, bShowNodeClass(false) | ||
, bShowSubGraphPreview(true) | ||
, bShowSubGraphPath(true) | ||
, SubGraphPreviewSize(FVector2D(640.f, 360.f)) | ||
, bHighlightInputWiresOfSelectedNodes(true) | ||
, bHighlightOutputWiresOfSelectedNodes(false) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Source/FlowEditor/Private/Graph/Nodes/FlowGraphNode_SubGraph.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "Graph/Nodes/FlowGraphNode_SubGraph.h" | ||
#include "Graph/Widgets/SFlowGraphNode_SubGraph.h" | ||
|
||
#include "Nodes/Route/FlowNode_SubGraph.h" | ||
|
||
UFlowGraphNode_SubGraph::UFlowGraphNode_SubGraph(const FObjectInitializer& ObjectInitializer) | ||
: Super(ObjectInitializer) | ||
{ | ||
AssignedNodeClasses = {UFlowNode_SubGraph::StaticClass()}; | ||
} | ||
|
||
TSharedPtr<SGraphNode> UFlowGraphNode_SubGraph::CreateVisualWidget() | ||
{ | ||
return SNew(SFlowGraphNode_SubGraph, this); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.