actor: Fix transform-set condition

The :transform-set property is set if the matrix in :transform is not
the identity matrix.
This commit is contained in:
Emmanuele Bassi 2012-09-25 09:05:39 +01:00
parent 21b32dbe7a
commit 696f1afc04

View File

@ -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;