Mercurial > MadButterfly
diff pyink/MBScene.py @ 1157:3a891dccabd8
Remove the locate tween. It is a special case for the scale tween
author | wycc |
---|---|
date | Mon, 27 Dec 2010 23:01:48 +0800 |
parents | 5db4d769387c |
children | e731a0eaa35f |
line wrap: on
line diff
--- a/pyink/MBScene.py Mon Dec 27 22:57:52 2010 +0800 +++ b/pyink/MBScene.py Mon Dec 27 23:01:48 2010 +0800 @@ -156,12 +156,10 @@ class MBScene(): _frameline_tween_types = (frameline.TWEEN_TYPE_NONE, - frameline.TWEEN_TYPE_MOVE, frameline.TWEEN_TYPE_SHAPE) _tween_obj_tween_types = (TweenObject.TWEEN_TYPE_NORMAL, - TweenObject.TWEEN_TYPE_RELOCATE, TweenObject.TWEEN_TYPE_SCALE) - _tween_type_names = ('normal', 'relocate', 'scale') + _tween_type_names = ('normal', 'scale') def __init__(self, desktop, win, root=None): self.desktop = desktop @@ -938,7 +936,7 @@ self.tweenTypeSelector = gtk.combo_box_new_text() self.tweenTypeSelector.append_text('normal') - self.tweenTypeSelector.append_text('relocate') + #self.tweenTypeSelector.append_text('relocate') self.tweenTypeSelector.append_text('scale') self.tweenTypeSelector.set_active(0) tweenbox.pack_start(self.tweenTypeSelector, expand=False,fill=False)