changeset 1283:a6aba785656e

Delete the whole tween when the key frame is covered.
author wycc
date Fri, 14 Jan 2011 00:39:21 +0800
parents 1ac921a6bd9a
children cbcb91b196fa
files pyink/domview_ui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/domview_ui.py	Fri Jan 14 00:36:50 2011 +0800
+++ b/pyink/domview_ui.py	Fri Jan 14 00:39:21 2011 +0800
@@ -319,7 +319,7 @@
 	except ValueError:	# last removed frame is not in any tween
 	    pass
 	else:
-	    if start >= frame_idx and end > last_rm:
+	    if start >= frame_idx and start > last_rm:
 		# Left key frame of the tween was removed, but not right one.
 		frameline.untween(start)
 		frameline.unmark_keyframe(end)