remove unnecessary frame loops

This commit is contained in:
ww-rm
2025-10-19 20:46:42 +08:00
committed by GitHub
parent 6a17ec0397
commit d335645dc1

View File

@@ -181,16 +181,7 @@ options:
if (warmup)
{
float delta = 1f / fps;
for (int i = 0; i < warmUpLoops; i++)
{
float t = 0;
while (t < trackEntry.Animation.Duration)
{
sp.Update(delta);
t += delta;
}
}
sp.Update(trackEntry.Animation.Duration * warmUpLoops);
}
foreach (var slotName in hideSlots)