This commit is contained in:
2025-04-18 18:17:02 +08:00
parent 80fdce96b2
commit e15eafe5d4
18 changed files with 259 additions and 493 deletions

View File

@@ -23,7 +23,7 @@ void SDismembermentGraphNode::UpdateGraphNode()
ContentScale.Bind(this, &SGraphNode::GetContentScale);
LeftNodeBox.Reset();
RightNodeBox.Reset();
OutputPinBox.Reset();
// OutputPinBox.Reset(); // Comment out this line because OutputPinBox is not defined
// Setup the node title
TSharedPtr<SNodeTitle> NodeTitle = SNew(SNodeTitle, GraphNode);
@@ -274,7 +274,7 @@ TSharedRef<SWidget> SDismembermentGraphNode::GetNodeBodyWidget()
return SNew(STextBlock)
.Text(DismembermentNode->GetTooltipText())
.TextStyle(FEditorStyle::Get(), "Graph.StateNode.Description")
.TextStyle(FAppStyle::Get(), "Graph.StateNode.Description")
.WrapTextAt(200.0f);
}
@@ -295,7 +295,7 @@ TSharedRef<SWidget> SDismembermentGraphNode::GetNodePreviewWidget()
[
SNew(STextBlock)
.Text(NSLOCTEXT("SDismembermentGraphNode", "Preview", "Preview"))
.TextStyle(FEditorStyle::Get(), "Graph.StateNode.Description")
.TextStyle(FAppStyle::Get(), "Graph.StateNode.Description")
]
];
}