changeset 1292:00833f8912a9

Revert function of domview_ui to changeset #4686f3131f2a
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 15 Jan 2011 21:00:56 +0800
parents a3e04b3f2a8c
children 10bffaffef82
files pyink/domview_ui.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/domview_ui.py	Sat Jan 15 20:57:42 2011 +0800
+++ b/pyink/domview_ui.py	Sat Jan 15 21:00:56 2011 +0800
@@ -319,13 +319,14 @@
 	except ValueError:	# last removed frame is not in any tween
 	    pass
 	else:
-	    if start >= frame_idx and start > last_rm:
+	    if start >= frame_idx and end > last_rm:
 		# Left key frame of the tween was removed, but not right one.
 		frameline.untween(start)
 		frameline.unmark_keyframe(end)
 		pass
 	    pass
 
+        #
 	# Remove left key of the tween that right key frame is in removing
 	# range.
 	#