From c15bba62fb9983d59e9c51c6c84e6b769f54e76e Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 20 Sep 2017 10:53:10 -0500 Subject: [PATCH] Cannot base a rotated or mirrored animation off something that is not created yet. --- SpriteLibrary/SpriteEntryForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpriteLibrary/SpriteEntryForm.cs b/SpriteLibrary/SpriteEntryForm.cs index 1b62100..c4f78f6 100644 --- a/SpriteLibrary/SpriteEntryForm.cs +++ b/SpriteLibrary/SpriteEntryForm.cs @@ -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()); }