From 696f1afc041cdc76293931cf90fee99f8a0aecd2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 25 Sep 2012 09:05:39 +0100 Subject: [PATCH] actor: Fix transform-set condition The :transform-set property is set if the matrix in :transform is not the identity matrix. --- clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index d4a64e30d..ab5c971a9 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -15772,7 +15772,7 @@ clutter_actor_set_transform_internal (ClutterActor *self, was_set = info->transform_set; info->transform = *transform; - info->transform_set = cogl_matrix_is_identity (&info->transform); + info->transform_set = !cogl_matrix_is_identity (&info->transform); self->priv->transform_valid = FALSE;