From b3e16a6b66ee5b41ba3891bbe531ff5b491a513a Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 22 Mar 2021 10:24:15 +0100 Subject: [PATCH] Fix material not updating on connection removal #372 --- Source/Editor/Surface/Elements/Box.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/Surface/Elements/Box.cs b/Source/Editor/Surface/Elements/Box.cs index 2a460013c..6a8745fa6 100644 --- a/Source/Editor/Surface/Elements/Box.cs +++ b/Source/Editor/Surface/Elements/Box.cs @@ -578,6 +578,7 @@ namespace FlaxEditor.Surface.Elements BreakConnection(connectedBox); action.End(); Surface.Undo.AddAction(action); + Surface.MarkAsEdited(); } else {