remove unnecessary frame loops
This commit is contained in:
@@ -181,16 +181,7 @@ options:
|
|||||||
|
|
||||||
if (warmup)
|
if (warmup)
|
||||||
{
|
{
|
||||||
float delta = 1f / fps;
|
sp.Update(trackEntry.Animation.Duration * warmUpLoops);
|
||||||
for (int i = 0; i < warmUpLoops; i++)
|
|
||||||
{
|
|
||||||
float t = 0;
|
|
||||||
while (t < trackEntry.Animation.Duration)
|
|
||||||
{
|
|
||||||
sp.Update(delta);
|
|
||||||
t += delta;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var slotName in hideSlots)
|
foreach (var slotName in hideSlots)
|
||||||
|
|||||||
Reference in New Issue
Block a user