From 7cb0ac36030eccb2be35fa4df04e95fe5a7c9556 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sun, 7 Mar 2021 10:31:31 +0100 Subject: [PATCH] Fix marking asset as edited when using Multi Blend node positions in Anim Graph Closes #251 --- Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs b/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs index 3f9d81f6d..1db06af40 100644 --- a/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs +++ b/Source/Editor/Surface/Archetypes/Animation.MultiBlend.cs @@ -621,6 +621,7 @@ namespace FlaxEditor.Surface.Archetypes dataA.X = location.X; _node.Values[4 + index * 2] = dataA; + _node.Surface.MarkAsEdited(); _node.UpdateUI(); } @@ -751,6 +752,7 @@ namespace FlaxEditor.Surface.Archetypes dataA.Y = location.Y; _node.Values[4 + index * 2] = dataA; + _node.Surface.MarkAsEdited(); _node.UpdateUI(); }