Mercurial > MadButterfly
comparison pyink/domview_ui.py @ 1288:fb44830c8a81
Change the duplicate key back to the old implementation. Now, we have clone key frame(extend) and copy key frame(duplicate).
author | wycc |
---|---|
date | Sat, 15 Jan 2011 21:06:55 +0800 |
parents | cbcb91b196fa |
children | 082fff7e9604 |
comparison
equal
deleted
inserted
replaced
1287:f6a28f473494 | 1288:fb44830c8a81 |
---|---|
600 # | 600 # |
601 def copy_key_group(self, layer_idx, src_frame_idx, dst_frame_idx): | 601 def copy_key_group(self, layer_idx, src_frame_idx, dst_frame_idx): |
602 src_group = self.get_key_group(layer_idx, src_frame_idx) | 602 src_group = self.get_key_group(layer_idx, src_frame_idx) |
603 dst_group = self.get_key_group(layer_idx, dst_frame_idx) | 603 dst_group = self.get_key_group(layer_idx, dst_frame_idx) |
604 self._dom.copy_group_children(src_group, dst_group) | 604 self._dom.copy_group_children(src_group, dst_group) |
605 pass | |
606 | |
607 ## \brief Link content of a source key frame to a destinate. | |
608 # | |
609 # Link content of the scene group of a source key frame to the | |
610 # scene group of a destinate key frame. | |
611 # | |
612 def link_key_group(self, layer_idx, src_frame_idx, dst_frame_idx): | |
613 src_group = self.get_key_group(layer_idx, src_frame_idx) | |
614 dst_group = self.get_key_group(layer_idx, dst_frame_idx) | |
615 self._dom.link_group_children(src_group, dst_group) | |
605 pass | 616 pass |
606 | 617 |
607 ## \brief Return widget showing frames and layers. | 618 ## \brief Return widget showing frames and layers. |
608 # | 619 # |
609 def get_frame_ui_widget(self): | 620 def get_frame_ui_widget(self): |