[actor] get_transformed_position(): initialize Z value

Initialize the Z value in the point we pass to
clutter_actor_apply_transform_to_point().

http://bugzilla.openedhand.com/show_bug.cgi?id=1630

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
Owen W. Taylor 2009-06-05 17:53:57 -04:00 committed by Emmanuele Bassi
parent 276952d6f9
commit 5f0afa5218

View File

@ -5331,7 +5331,7 @@ clutter_actor_get_transformed_position (ClutterActor *self,
ClutterVertex v1;
ClutterVertex v2;
v1.x = v1.y = 0;
v1.x = v1.y = v1.z = 0;
clutter_actor_apply_transform_to_point (self, &v1, &v2);
if (x)