2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-actor.c (clutter_actor_set_property): Use the
	internal setter for the rotation center.
This commit is contained in:
Emmanuele Bassi 2008-04-23 13:21:33 +00:00
parent b450363370
commit 7d103daed4
2 changed files with 23 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_set_property): Use the
internal setter for the rotation center.
2008-04-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Add units based variant of the

View File

@ -1548,12 +1548,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center;
center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor,
CLUTTER_X_AXIS,
priv->rxang,
0,
center->y,
center->z);
clutter_actor_set_rotation_internal (actor,
CLUTTER_X_AXIS,
priv->rxang,
0,
center->y,
center->z);
}
break;
case PROP_ROTATION_CENTER_Y:
@ -1561,12 +1561,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center;
center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor,
CLUTTER_Y_AXIS,
priv->ryang,
center->x,
0,
center->z);
clutter_actor_set_rotation_internal (actor,
CLUTTER_Y_AXIS,
priv->ryang,
center->x,
0,
center->z);
}
break;
case PROP_ROTATION_CENTER_Z:
@ -1574,12 +1574,12 @@ clutter_actor_set_property (GObject *object,
ClutterVertex *center;
center = g_value_get_boxed (value);
clutter_actor_set_rotationx (actor,
CLUTTER_Z_AXIS,
priv->rzang,
center->x,
center->y,
0);
clutter_actor_set_rotation_internal (actor,
CLUTTER_Z_AXIS,
priv->rzang,
center->x,
center->y,
0);
}
break;
case PROP_ANCHOR_X: