diff options
Diffstat (limited to 'common/Util/ControlStream.py')
-rw-r--r-- | common/Util/ControlStream.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Util/ControlStream.py b/common/Util/ControlStream.py index 9080bf2..5598b19 100644 --- a/common/Util/ControlStream.py +++ b/common/Util/ControlStream.py @@ -64,6 +64,7 @@ class TamTamOStream: def block_add( self, typeStr, active, centerX, centerY, child, data ): if typeStr == "Drum" or typeStr == "Instrument": + data = data[:] # don't overwrite the block's data data["id"] = self.instrumentDB.getInstrument( data["id"] ).name l = [ "block_add", typeStr, str(active), str(centerX), str(centerY), str(child), str(data) ] self.file.write( " ".join([str(i) for i in l])) |