Fix extra frame added to smd animation export (#659)

This commit is contained in:
MediaMoots 2023-09-05 08:41:58 +08:00 committed by GitHub
parent b1244fb019
commit fe52c1cbc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -347,7 +347,7 @@ namespace Toolbox.Library.Animations
file.WriteLine("skeleton");
anim.SetFrame(0);
for (int i = 0; i <= anim.FrameCount; i++)
for (int i = 0; i < anim.FrameCount; i++)
{
anim.NextFrame(Skeleton, false, true);