1
0
mirror of synced 2024-11-30 18:24:39 +01:00

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);