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:
parent
21b32dbe7a
commit
696f1afc04
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user