private void InitializeAnimations()
{
this.comboBoxAnimation.BeginUpdate();
this.comboBoxAnimation.Items.Clear();
this.comboBoxAnimation.Items.Add("<None>");
//////////////////
//#warning Fix this after loading of animations is fixed
this.comboBoxAnimation.EndUpdate();
//return;
//////////////////
string name;
foreach (Animation animation in Project.Data.Animations.Cast<Animation>().Where(animation => animation != null))
{
name = animation.ToString();
this.comboBoxAnimation.Items.Add(name);
}
this.comboBoxAnimation.EndUpdate();
}