1
0
Fork 0

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.
This commit is contained in:
Øyvind Kolås 2010-03-01 18:35:01 +00:00
parent 7d0ad7ac1b
commit 505e5966e4

View file

@ -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,
&current_key->value);
clutter_interval_set_final_value (key_animator->interval,
&current_key->value);
break;
}
}
}
}