comparison pyink/MBScene.py @ 1289:e816b0c2deec

Delete the old key frame and duplicate the key frame again.
author wycc
date Sat, 15 Jan 2011 21:09:03 +0800
parents fb44830c8a81
children 082fff7e9604
comparison
equal deleted inserted replaced
1288:fb44830c8a81 1289:e816b0c2deec
156 pass 156 pass
157 157
158 def duplicateKeyScene(self): 158 def duplicateKeyScene(self):
159 # Search for the current scene 159 # Search for the current scene
160 layer_idx, frame_idx = self._domviewui.get_active_layer_frame() 160 layer_idx, frame_idx = self._domviewui.get_active_layer_frame()
161 self.removeKeyScene(layer_idx, frame_idx)
161 162
162 try: 163 try:
163 left_start, left_end, left_tween_type = \ 164 left_start, left_end, left_tween_type = \
164 self._domviewui.get_left_key(layer_idx, frame_idx) 165 self._domviewui.get_left_key(layer_idx, frame_idx)
165 except: 166 except: