mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-01 19:51:28 +02:00
Fixed progress FPS being inf
This commit is contained in:
@@ -42,16 +42,12 @@ namespace Flowframes
|
||||
int frames = IOUtils.GetAmountOfFiles(lastInPath, false, "*.png");
|
||||
int target = (frames * factor) - (factor - 1);
|
||||
InterpolateUtils.progressPaused = false;
|
||||
InterpolateUtils.currentFactor = factor;
|
||||
|
||||
if (InterpolateUtils.progCheckRunning)
|
||||
{
|
||||
InterpolateUtils.currentFactor = factor;
|
||||
InterpolateUtils.targetFrames = target;
|
||||
}
|
||||
else
|
||||
{
|
||||
InterpolateUtils.GetProgressByFrameAmount(interpPath, target);
|
||||
}
|
||||
}
|
||||
|
||||
static async Task AiFinished (string aiName)
|
||||
|
||||
Reference in New Issue
Block a user