# HG changeset patch # User wycc # Date 1294936761 -28800 # Node ID a6aba785656e6eb70bfe26bcd1448f655bd946f0 # Parent 1ac921a6bd9a0ca86b4a29abb53024f045fc896a Delete the whole tween when the key frame is covered. diff -r 1ac921a6bd9a -r a6aba785656e pyink/domview_ui.py --- 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)