Moving to use of global MCPServer

This commit is contained in:
2026-03-13 13:46:12 -04:00
parent c35cfcd70c
commit e3b5d32345
55 changed files with 227 additions and 266 deletions

View File

@@ -33,7 +33,7 @@ public:
virtual void Handle(FStringBuilderBase& Result) override
{
MCPFetcher F(Result);
MCPFetcher F;
UEdGraphNode* FoundNode = F.Walk(Node).Cast<UEdGraphNode>();
if (!FoundNode) return;
@@ -49,8 +49,6 @@ public:
*NodeTitle, *GraphName));
}
F.PreEdit();
if (Cast<UMaterialGraphNode>(FoundNode))
{
// Use the material editor's DeleteNodes to properly remove
@@ -65,8 +63,6 @@ public:
Graph->RemoveNode(FoundNode);
}
F.PostEdit();
Result.Appendf(TEXT("Deleted node '%s' from graph '%s'.\n"), *NodeTitle, *GraphName);
}
};