comparison pyink/frameline.py @ 1187:9d715956823a

Update the maxframeline
author wycc
date Tue, 04 Jan 2011 01:13:23 +0800
parents bfd7d466a022
children 1d476b35dc79
comparison
equal deleted inserted replaced
1186:ca4e89cc464b 1187:9d715956823a
762 if key.left_tween is True: continue 762 if key.left_tween is True: continue
763 if key.idx == idx: 763 if key.idx == idx:
764 return key.right_tween_type 764 return key.right_tween_type
765 pass 765 pass
766 pass 766 pass
767 ## Get the maximum frame number in a layer(frameline)
768 # Return the frame number
769 def max_frame(self):
770 if len(self._keys) == 0: return 0
771 return self._keys[len(self._keys)-1].idx
767 772
768 ## \bref Return range of blocks of conesequence frames (tweens). 773 ## \bref Return range of blocks of conesequence frames (tweens).
769 # 774 #
770 # Return range and type of tweens and key frames that is not start or stop 775 # Return range and type of tweens and key frames that is not start or stop
771 # of a tween. 776 # of a tween.