From: W. Trevor King Date: Thu, 10 Nov 2011 17:01:57 +0000 (-0500) Subject: Fix 'remove curve from playlist' implementation. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=83dda65c275abe3ecaee409cf3f56d3084f8c3c8 Fix 'remove curve from playlist' implementation. --- diff --git a/hooke/plugin/playlist.py b/hooke/plugin/playlist.py index f9d7f31..b5a2f2a 100644 --- a/hooke/plugin/playlist.py +++ b/hooke/plugin/playlist.py @@ -345,8 +345,9 @@ Index of target curve. help=self.__doc__, plugin=plugin) def _run(self, hooke, inqueue, outqueue, params): - self._playlist(hooke, params).pop(params['index']) - self._playlist(hooke, params).jump(params.index()) + playlist = self._playlist(hooke, params) + playlist.pop(params['index']) + playlist.jump(playlist.index()) class ApplyCommand (PlaylistCommand):