Skip to content

Commit

Permalink
Merge pull request BelaPlatform#3 from brianlheim/lcidwr/removeAllCli…
Browse files Browse the repository at this point in the history
…entIDs

remove server.allClientIDs
  • Loading branch information
Alberto de Campo authored Dec 14, 2017
2 parents 7d9f54c + 30d613d commit 7cda61b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SCClassLibrary/Common/Control/Server.sc
Original file line number Diff line number Diff line change
Expand Up @@ -790,13 +790,9 @@ Server {
^Buffer.cachedBufferAt(this, bufnum)
}

// defaultGroups for all clients on this server:

allClientIDs { ^(0..this.maxNumClients-1) }

// keep defaultGroups for all clients on this server:
makeDefaultGroups {
defaultGroups = this.allClientIDs.collect { |clientID|
defaultGroups = this.maxNumClients.collect { |clientID|
Group.basicNew(this, nodeAllocator.numIDs * clientID + 1);
};
defaultGroup = defaultGroups[clientID];
Expand Down

0 comments on commit 7cda61b

Please sign in to comment.