changeset 1198:164076156e04

Fix bug of insert a new node in a tween frame
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 02 Jan 2011 21:14:16 +0800
parents 8c5492b096f1
children 25e1579ed3d1
files pyink/MBScene.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/MBScene.py	Sun Jan 02 21:09:35 2011 +0800
+++ b/pyink/MBScene.py	Sun Jan 02 21:14:16 2011 +0800
@@ -899,7 +899,7 @@
 		    frameline.add_keyframe(scene.end, scene.node)
 		    tween_type_idx = self._tween_type_names.index(scene.type)
 		    tween_type = self._frameline_tween_types[tween_type_idx]
-		    frameline.tween(scene.start-1, tween_type)
+		    frameline.tween(scene.start, tween_type)
 		pass
 	    pass
 	pass