fix sc class bug

This commit is contained in:
rob 2008-12-21 23:20:05 +00:00
parent 473e329d75
commit 9c00fef14f
2 changed files with 7 additions and 7 deletions

0
README Normal file
View File

View File

@ -4,14 +4,9 @@ SC3Controller {
classvar nodes;
*initClass {
var postToFront;
nodes = List[];
Platform.case(\osx) {
postToFront = {
Document.listener.front;
};
Platform.case(\osx) {
StartUp.add {
this.addListeners;
}
@ -19,7 +14,12 @@ SC3Controller {
}
*addListeners {
var node;
var node, postToFront;
postToFront = {
Document.listener.front;
};
if(nodes.isEmpty) {
node = OSCresponderNode(nil, '/sc3ctrl/cmd') { |t, r, msg|
msg[1].asString.interpretPrint;