Mercurial > MadButterfly
comparison pyink/MBScene.py @ 1155:5db4d769387c
Show the frame when we select the keyframe. The duplicated group must be shown only in the tweened frame
author | wycc |
---|---|
date | Mon, 27 Dec 2010 22:54:37 +0800 |
parents | 71c72e8d6755 |
children | 3a891dccabd8 |
comparison
equal
deleted
inserted
replaced
1154:1c9ef65c74b2 | 1155:5db4d769387c |
---|---|
588 if idx == start_idx: | 588 if idx == start_idx: |
589 scene_group.setAttribute('style', '') | 589 scene_group.setAttribute('style', '') |
590 else: | 590 else: |
591 scene_group.setAttribute('style', 'display: none') | 591 scene_group.setAttribute('style', 'display: none') |
592 pass | 592 pass |
593 elif idx == start_idx: | |
594 layer.duplicateGroup.setAttribute("style","display:none") | |
595 scene_group = layer.get_frame_data(start_idx) | |
596 scene_group.setAttribute("style","") | |
593 elif start_idx <= idx and stop_idx >= idx: | 597 elif start_idx <= idx and stop_idx >= idx: |
594 scene_group = layer.get_frame_data(start_idx) | 598 scene_group = layer.get_frame_data(start_idx) |
595 scene_group.setAttribute("style","display:none") | 599 scene_group.setAttribute("style","display:none") |
596 layer.duplicateGroup.setAttribute("style","") | 600 layer.duplicateGroup.setAttribute("style","") |
597 tween_type_idx = \ | 601 tween_type_idx = \ |