Remove undo/redo code from UE Wingman
This commit is contained in:
@@ -45,9 +45,6 @@ public:
|
||||
UEdGraph* Graph = *SigGraph;
|
||||
FName VarFName = Var->VarName;
|
||||
|
||||
BP->Modify();
|
||||
Graph->Modify();
|
||||
|
||||
// Remove the member variable (also destroys referencing nodes)
|
||||
FBlueprintEditorUtils::RemoveMemberVariable(BP, VarFName);
|
||||
|
||||
|
||||
@@ -68,8 +68,6 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
Pin->Modify();
|
||||
|
||||
FString UseDefaultValue;
|
||||
TObjectPtr<UObject> UseDefaultObject = nullptr;
|
||||
FText UseDefaultText;
|
||||
|
||||
@@ -323,6 +323,9 @@ void UWingServer::TryCallHandler(const FString &Line)
|
||||
return;
|
||||
}
|
||||
|
||||
// MCP handlers must not run inside an undo transaction.
|
||||
check(GUndo == nullptr);
|
||||
|
||||
// Invoke the handler.
|
||||
Handler->Handle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user