public void unselect(ProcessingNet n, int connection) { if (n == null) return; if (!nets.Contains(n)) return; n.unSelect(connection); if (!n.anySelected()) nets.Remove(n); }
public void unselect(ProcessingNet n) { if (n == null) return; if (!nets.Contains(n)) return; nets.Remove(n); n.unSelect(); // n.selected = false; }