Cleanup 3

This commit is contained in:
W2.Wizard
2021-02-21 11:09:04 +01:00
parent 92fafe877c
commit 20ba37e223
24 changed files with 181 additions and 119 deletions

View File

@@ -305,8 +305,11 @@ namespace FlaxEditor.Surface.Elements
if (HasAnyConnection)
{
// Remove all connections
var toUpdate = new List<Box>(1 + Connections.Count);
toUpdate.Add(this);
var toUpdate = new List<Box>(1 + Connections.Count)
{
this
};
for (int i = 0; i < Connections.Count; i++)
{
var targetBox = Connections[i];