diff --git a/Source/Editor/Surface/VisjectSurface.CopyPaste.cs b/Source/Editor/Surface/VisjectSurface.CopyPaste.cs index 0d991191a..2fbdb815c 100644 --- a/Source/Editor/Surface/VisjectSurface.CopyPaste.cs +++ b/Source/Editor/Surface/VisjectSurface.CopyPaste.cs @@ -103,7 +103,7 @@ namespace FlaxEditor.Surface { for (int j = 0; j < node.Elements.Count; j++) { - if (node.Elements[j] is Box box) + if (node.Elements[j] is Box box && box.Connections.Count > 0) { var dataModelBox = new DataModelBox {