Cannot base a rotated or mirrored animation off something that is not created yet.

This commit is contained in:
Tim Young 2017-09-20 10:53:10 -05:00
parent 087b4283fc
commit c15bba62fb

View File

@ -124,7 +124,8 @@ namespace SpriteLibrary
//Put in numbers into the combo-box of which frame to base ourselves off of
cbAnimation.Items.Clear();
for(int i =0; i < TempInformation.Animations.Count; i++)
//We cannot base ourselves off an animation we have not created yet
for(int i =0; i < CurrentSIAnimation; i++)
{
cbAnimation.Items.Add(i.ToString());
}