Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit/NoteInterface.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-08-18 03:17:21 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-08-18 03:17:21 (GMT)
commitd9c019c42bf72e722756f89b5dfc6a9e2a1fe3b0 (patch)
tree94e32685afb6c96796989bbb9db0c27c648a62f1 /Edit/NoteInterface.py
parentdcc14c2fec23abe044d7bc1b9ed13426354c6163 (diff)
generation preview
Diffstat (limited to 'Edit/NoteInterface.py')
-rw-r--r--Edit/NoteInterface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Edit/NoteInterface.py b/Edit/NoteInterface.py
index a51fe2c..a5035dd 100644
--- a/Edit/NoteInterface.py
+++ b/Edit/NoteInterface.py
@@ -54,7 +54,7 @@ class NoteInterface:
r = self.baseColors[0][0] + int(self.baseColors[1][0]*self.note.cs.amplitude)
g = self.baseColors[0][1] + int(self.baseColors[1][1]*self.note.cs.amplitude)
b = self.baseColors[0][2] + int(self.baseColors[1][2]*self.note.cs.amplitude)
- self.color = self.colormap.alloc_color( r, g, b, True, True )
+ self.color = self.colormap.alloc_color( r, g, b, True, True ) # TODO potential memory leak?
self.oldAmplitude = self.note.cs.amplitude
self.updateTransform()