comparison pyink/MBScene.py @ 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
comparison
equal deleted inserted replaced
1197:8c5492b096f1 1198:164076156e04
897 last_scene = scene 897 last_scene = scene
898 if scene.start != scene.end: 898 if scene.start != scene.end:
899 frameline.add_keyframe(scene.end, scene.node) 899 frameline.add_keyframe(scene.end, scene.node)
900 tween_type_idx = self._tween_type_names.index(scene.type) 900 tween_type_idx = self._tween_type_names.index(scene.type)
901 tween_type = self._frameline_tween_types[tween_type_idx] 901 tween_type = self._frameline_tween_types[tween_type_idx]
902 frameline.tween(scene.start-1, tween_type) 902 frameline.tween(scene.start, tween_type)
903 pass 903 pass
904 pass 904 pass
905 pass 905 pass
906 906
907 def cellSelect(self, cell, data): 907 def cellSelect(self, cell, data):