Skip to content

Commit

Permalink
Fix node not being registered with the asset after undoing it's delet…
Browse files Browse the repository at this point in the history
…ion (#74)
  • Loading branch information
Mahoukyou authored and MothDoctor committed Nov 29, 2021
1 parent 38d4feb commit feccb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/FlowEditor/Private/Asset/FlowAssetEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ void FFlowAssetEditor::DeleteSelectedNodes()
{
const FScopedTransaction Transaction(LOCTEXT("DeleteSelectedNode", "Delete Selected Node"));
FocusedGraphEditor->GetCurrentGraph()->Modify();
FlowAsset->Modify();

const FGraphPanelSelectionSet SelectedNodes = FocusedGraphEditor->GetSelectedNodes();
SetUISelectionState(NAME_None);
Expand Down

0 comments on commit feccb2e

Please sign in to comment.