From 5483aeb50f7af1da0417ad1783d28d90cc17e36d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 11 Nov 2010 08:27:15 -0500 Subject: [PATCH] Actually, filtering the copy directly is *almost* ok. --- hooke/playlist.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.26.2