mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
Bug 1323 - ClutterBehaviorDepth conflicts with other behaviors
* clutter/clutter-behaviour-ellipse.c (actor_apply_knot_foreach): Don't set the depth if there is no x or y tilt. That way it can still be used in conjunction with ClutterBehaviourDepth. Thanks to Tonny Tzeng.
This commit is contained in:
parent
e3dd18dc0c
commit
c81a0b3281
@ -1,3 +1,12 @@
|
|||||||
|
2008-12-10 Neil Roberts <neil@linux.intel.com>
|
||||||
|
|
||||||
|
Bug 1323 - ClutterBehaviorDepth conflicts with other behaviors
|
||||||
|
|
||||||
|
* clutter/clutter-behaviour-ellipse.c (actor_apply_knot_foreach):
|
||||||
|
Don't set the depth if there is no x or y tilt. That way it can
|
||||||
|
still be used in conjunction with ClutterBehaviourDepth. Thanks to
|
||||||
|
Tonny Tzeng.
|
||||||
|
|
||||||
2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com>
|
2008-12-08 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||||
|
|
||||||
* clutter/clutter-binding-pool.h: Fix the ActivateFunc
|
* clutter/clutter-binding-pool.h: Fix the ActivateFunc
|
||||||
|
@ -178,9 +178,12 @@ actor_apply_knot_foreach (ClutterBehaviour *behave,
|
|||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
|
ClutterBehaviourEllipsePrivate *priv
|
||||||
|
= ((ClutterBehaviourEllipse *) behave)->priv;
|
||||||
knot3d *knot = data;
|
knot3d *knot = data;
|
||||||
|
|
||||||
clutter_actor_set_position (actor, knot->x, knot->y);
|
clutter_actor_set_position (actor, knot->x, knot->y);
|
||||||
|
if (priv->angle_tilt_x != 0 || priv->angle_tilt_y != 0)
|
||||||
clutter_actor_set_depth (actor, knot->z);
|
clutter_actor_set_depth (actor, knot->z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user