changeset 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 3fe8054457a8
files pyink/frameline.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/frameline.py	Thu Nov 18 12:02:21 2010 +0800
+++ b/pyink/frameline.py	Thu Nov 18 12:10:51 2010 +0800
@@ -278,7 +278,7 @@
             pass
         num_frames = self._num_frames
         while i < num_frames:
-            if key.idx == i:
+            if key.idx == i and key.right_tween:
                 #
                 # Skip tween keys
                 #