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:
Øyvind Kolås 2010-03-02 12:38:51 +00:00
parent 3a84af0106
commit 9a55ddc7c3

View File

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