state: Request the animator for the default state
Try to use the default-state animator in case there is no animator for this specific state change request. http://bugzilla.clutter-project.org/show_bug.cgi?id=2325
This commit is contained in:
parent
172fc6bfed
commit
695839c6f3
@ -510,6 +510,10 @@ clutter_state_change (ClutterState *state,
|
||||
priv->target_state_name);
|
||||
priv->target_state = new_state;
|
||||
|
||||
if (animator == NULL && new_state->keys == NULL)
|
||||
animator = clutter_state_get_animator (state, NULL,
|
||||
priv->target_state_name);
|
||||
|
||||
if (animator != NULL)
|
||||
{
|
||||
/* we've got an animator overriding the tweened animation */
|
||||
|
Loading…
Reference in New Issue
Block a user