Mercurial > MadButterfly
comparison pyink/MBScene.py @ 1295:71118bff7d61
CHange the wrong append to appendCHild
author | wycc |
---|---|
date | Sun, 16 Jan 2011 09:45:09 +0800 |
parents | 082fff7e9604 |
children | cf2691a18a7a |
comparison
equal
deleted
inserted
replaced
1294:082fff7e9604 | 1295:71118bff7d61 |
---|---|
124 self._domviewui.get_left_key(layer_idx, frame_idx) | 124 self._domviewui.get_left_key(layer_idx, frame_idx) |
125 tween_len = frame_idx - start | 125 tween_len = frame_idx - start |
126 self._domviewui.tween(layer_idx, start, tween_len, tween_type) | 126 self._domviewui.tween(layer_idx, start, tween_len, tween_type) |
127 | 127 |
128 # Create a key frame which link to the previous key frame | 128 # Create a key frame which link to the previous key frame |
129 scene_group = self._domviewui.get_key_group(layer_idx, start) | |
130 self._domviewui.mark_key(layer_idx, frame_idx) | 129 self._domviewui.mark_key(layer_idx, frame_idx) |
131 self._domviewui.clone_key_group(layer_idx, start, frame_idx) | 130 self._domviewui.clone_key_group(layer_idx, start, frame_idx) |
132 self._director.show_scene(frame_idx) | 131 self._director.show_scene(frame_idx) |
133 self.selectSceneObject(layer_idx, frame_idx) | 132 self.selectSceneObject(layer_idx, frame_idx) |
134 pass | 133 pass |