From 505e5966e4ee649b7528cdf0410a4e52d59a25ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Mon, 1 Mar 2010 18:35:01 +0000 Subject: [PATCH] Do not overwrite the initial key, making ease-in work as expected. Fixes bug #2008, where a property with ease-in would jump instead of start at the properties initial value. --- clutter/clutter-animator.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c index d9183e25e..f52becd4e 100644 --- a/clutter/clutter-animator.c +++ b/clutter/clutter-animator.c @@ -564,15 +564,6 @@ 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 /* no relevant interval */ - { - ClutterAnimatorKey *current_key = key_animator->current->data; - clutter_interval_set_initial_value (key_animator->interval, - ¤t_key->value); - clutter_interval_set_final_value (key_animator->interval, - ¤t_key->value); - break; - } } } }