From 166e9267e94532fd5da667f958a4f5990f067db2 Mon Sep 17 00:00:00 2001 From: amartin Date: Sat, 22 Dec 2007 13:49:30 +0000 Subject: desktop saving fixes (keep still broken) --- (limited to 'common/Util/ControlStream.py') 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])) -- cgit v0.9.1