From 30d613d2bce35849e90aa5b32fac8905bad7df58 Mon Sep 17 00:00:00 2001 From: Brian Heim Date: Mon, 11 Dec 2017 19:08:07 -0500 Subject: [PATCH] classlib: remove Server.allClientIDs Replace usage with equivalent code --- SCClassLibrary/Common/Control/Server.sc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/SCClassLibrary/Common/Control/Server.sc b/SCClassLibrary/Common/Control/Server.sc index 4ea17888fa0..22dfd9fa4ec 100644 --- a/SCClassLibrary/Common/Control/Server.sc +++ b/SCClassLibrary/Common/Control/Server.sc @@ -791,13 +791,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];