Fix missing surface graph edited flag after removing anim graph state transition

#2035
This commit is contained in:
Wojtek Figat
2023-12-06 14:27:14 +01:00
parent 23a72f2ade
commit 32ced6e68a

View File

@@ -1335,6 +1335,7 @@ namespace FlaxEditor.Surface.Archetypes
Surface?.AddBatchedUndoAction(action);
action.Do();
Surface?.OnNodesConnected(this, other);
Surface?.MarkAsEdited();
}
}
@@ -1911,6 +1912,7 @@ namespace FlaxEditor.Surface.Archetypes
{
var action = new StateMachineStateBase.AddRemoveTransitionAction(this);
SourceState.Surface?.AddBatchedUndoAction(action);
SourceState.Surface?.MarkAsEdited();
action.Do();
}