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 6dde157..528c9dd 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)