mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user