From: W. Trevor King Date: Thu, 11 Nov 2010 13:27:15 +0000 (-0500) Subject: Actually, filtering the copy directly is *almost* ok. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5483aeb50f7af1da0417ad1783d28d90cc17e36d;p=hooke.git Actually, filtering the copy directly is *almost* ok. --- diff --git a/hooke/playlist.py b/hooke/playlist.py index 6dde157..528c9dd 100644 --- a/hooke/playlist.py +++ b/hooke/playlist.py @@ -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)