Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Util/ControlStream.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-12-22 13:49:30 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-12-22 13:49:30 (GMT)
commit166e9267e94532fd5da667f958a4f5990f067db2 (patch)
tree3be2599a95d562d51bc25bfb8d78418f1fbd74ec /common/Util/ControlStream.py
parentb9e7b3cb9ae36c21f010282e03fef5038c49ce24 (diff)
desktop saving fixes (keep still broken)
Diffstat (limited to 'common/Util/ControlStream.py')
-rw-r--r--common/Util/ControlStream.py1
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]))