2008-01-12 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-effect.c (clutter_effect_rotate): Make the
	rotate effect work on the passed axis, instead of hardcoding
	the X axis. (#700, Neil Roberts)
This commit is contained in:
Emmanuele Bassi
2008-01-12 11:05:05 +00:00
parent 063386c1e2
commit 3b0c46dd28
2 changed files with 7 additions and 1 deletions

View File

@ -821,7 +821,7 @@ clutter_effect_rotate (ClutterEffectTemplate *template_,
angle_start = clutter_actor_get_rotation (actor, axis, NULL, NULL, NULL);
c->behave = clutter_behaviour_rotate_new (c->alpha,
CLUTTER_X_AXIS,
axis,
direction,
angle_start,
angle_end);