Fixed progress FPS being inf

This commit is contained in:
N00MKRAD
2021-01-19 00:53:00 +01:00
parent 61053bfe21
commit fdf62ff547

View File

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