animator: restore accidentally removed break
In 505e5966 a break statement was removed by accident, causing the animator to enter infinite loops if no initial key is present.
This commit is contained in:
parent
3a84af0106
commit
9a55ddc7c3
@ -564,6 +564,8 @@ animation_animator_ensure_animator (ClutterAnimator *animator,
|
|||||||
if ((clutter_alpha_get_mode (key_animator->alpha) != next_key->mode))
|
if ((clutter_alpha_get_mode (key_animator->alpha) != next_key->mode))
|
||||||
clutter_alpha_set_mode (key_animator->alpha, next_key->mode);
|
clutter_alpha_set_mode (key_animator->alpha, next_key->mode);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user