# HG changeset patch # User Thinker K.F. Li # Date 1293514527 -28800 # Node ID 1d1f2a1e43f688e6f0009deaf0b20d34b37ca807 # Parent 3a891dccabd8d631e662a0113a5872473982d1e7 Fix the issue of drawing consquence tween frames diff -r 3a891dccabd8 -r 1d1f2a1e43f6 pyink/frameline.py --- a/pyink/frameline.py Mon Dec 27 23:01:48 2010 +0800 +++ b/pyink/frameline.py Tue Dec 28 13:35:27 2010 +0800 @@ -370,6 +370,12 @@ self._draw_tween(first_tween_key.idx, last_tween_key.idx, first_tween_key.right_tween_type) last_tween_key = self._keys[last_tween_pos] + key_pos = last_tween_pos + 1 + try: + key = self._keys[key_pos] + except: + key = keyframe(self._num_frames) + pass i = last_tween_key.idx + 1 else: self._draw_normal_frame(i)