Mercurial > MadButterfly
comparison pyink/frameline.py @ 970:a1ebbe11354d
Fix issue of not drawing background for key frames without any tween
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 18 Nov 2010 12:10:51 +0800 |
parents | d4b934d97a62 |
children | a4c0aff915ad |
comparison
equal
deleted
inserted
replaced
969:d4b934d97a62 | 970:a1ebbe11354d |
---|---|
276 except IndexError: | 276 except IndexError: |
277 key = keyframe(self._num_frames) | 277 key = keyframe(self._num_frames) |
278 pass | 278 pass |
279 num_frames = self._num_frames | 279 num_frames = self._num_frames |
280 while i < num_frames: | 280 while i < num_frames: |
281 if key.idx == i: | 281 if key.idx == i and key.right_tween: |
282 # | 282 # |
283 # Skip tween keys | 283 # Skip tween keys |
284 # | 284 # |
285 first_tween_key = key | 285 first_tween_key = key |
286 while key.idx == i or key.left_tween: | 286 while key.idx == i or key.left_tween: |