From 9a55ddc7c36185b31120b5c5275dac60f5926d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 2 Mar 2010 12:38:51 +0000 Subject: [PATCH] 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. --- clutter/clutter-animator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c index 5b0c8a8da..f85818c8e 100644 --- a/clutter/clutter-animator.c +++ b/clutter/clutter-animator.c @@ -564,6 +564,8 @@ animation_animator_ensure_animator (ClutterAnimator *animator, if ((clutter_alpha_get_mode (key_animator->alpha) != next_key->mode)) clutter_alpha_set_mode (key_animator->alpha, next_key->mode); } + else + break; } } }