Cleanup 3
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user