# HG changeset patch # User Thinker K.F. Li # Date 1293972711 -28800 # Node ID 42f8cee2118b71c5be36025e9a3e0d1aedd5bbc1 # Parent cb2c611d165662b2963c005b551973556c8aadf7 Fix the issue that is falut to show first frame of a tween diff -r cb2c611d1656 -r 42f8cee2118b pyink/MBScene.py --- a/pyink/MBScene.py Sun Jan 02 20:05:05 2011 +0800 +++ b/pyink/MBScene.py Sun Jan 02 20:51:51 2011 +0800 @@ -723,7 +723,9 @@ elif idx == start_idx: frameline.duplicateGroup.setAttribute("style","display:none") scene_node = frameline.get_frame_data(start_idx) - scene_node.setAttribute("style","") + scene_group_id = scene_node.getAttribute('ref') + scene_group = self.get_node(scene_group_id) + scene_group.setAttribute("style","") elif start_idx <= idx and stop_idx >= idx: scene_node = frameline.get_frame_data(start_idx) scene_group_id = scene_node.getAttribute('ref')