Actually, filtering the copy directly is *almost* ok.
authorW. Trevor King <wking@drexel.edu>
Thu, 11 Nov 2010 13:27:15 +0000 (08:27 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 11 Nov 2010 13:27:15 +0000 (08:27 -0500)
hooke/playlist.py

index 6dde157502ba5f4a2ef1cb12d0a09c41c0385df9..528c9dd4b0663b084f834b0941fa2997ec4909ac 100644 (file)
@@ -127,6 +127,9 @@ class NoteIndexList (list):
         index = self._index
         items = self
         if reverse == True:
+            # could iterate through `c` if current_curve_callback()
+            # would work, but `c` is not bound to the local `hooke`,
+            # so curent_playlist_callback cannot point to it.
             items = reverse_enumerate(self)
         else:
             items = enumerate(self)