Skip to content

Commit

Permalink
fixes for MandelSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
cappelnord committed Jul 17, 2012
1 parent 7ba60f8 commit 2797a72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MandelSpace.sc
Expand Up @@ -300,7 +300,7 @@ MandelSpace : MandelModule {
(serType == \SM).if {^value.asSymbol;}; (serType == \SM).if {^value.asSymbol;};
(serType == \CS).if { (serType == \CS).if {
allowRemoteCode.if({ allowRemoteCode.if({
^value.interpret; ^value.asString.interpret;
}, { }, {
"MandelSpace received remote code but wasn't allowed to execute.\nSet allowRemoteCode to true if you know what you're doing!".warn; "MandelSpace received remote code but wasn't allowed to execute.\nSet allowRemoteCode to true if you know what you're doing!".warn;
}); });
Expand Down Expand Up @@ -339,8 +339,8 @@ MandelSpace : MandelModule {
(1,4..(payload.size-1)).do {|i| (1,4..(payload.size-1)).do {|i|
var key = payload[i].asSymbol; var key = payload[i].asSymbol;
var value = this.deserialize(payload[i+1], payload[i+2]); var value = this.deserialize(payload[i+1], payload[i+2]);
("Key: " ++ key).postln; // ("Key: " ++ key).postln;
("Value: " ++ value).postln; // ("Value: " ++ value).postln;
this.getObject(key).setValue(value, schedBeats, header.name, doSend:false); this.getObject(key).setValue(value, schedBeats, header.name, doSend:false);
}; };
this.prFinishUpdateSink; this.prFinishUpdateSink;
Expand Down

0 comments on commit 2797a72

Please sign in to comment.