From b2ab2b953548bb9af41789e2465dfa9a588c9b2d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 2 Aug 2009 18:34:17 +0100 Subject: [PATCH] [actor] Use the right vertex The vertex that should be used by the apply_relative_transform is the one passed in as const, and the result should be placed inside the non-const ClutterVertext. Currently, we are using the latter, and thus the function is completely useless. --- clutter/clutter-actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 956f7b55b..a10f90902 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -1813,9 +1813,9 @@ clutter_actor_apply_relative_transform_to_point (ClutterActor *self, g_return_if_fail (point != NULL); g_return_if_fail (vertex != NULL); - x = vertex->x; - y = vertex->y; - z = vertex->z; + x = point->x; + y = point->y; + z = point->z; w = 1.0; /* First we tranform the point using the OpenGL modelview matrix */