From fdf62ff5471c865e5152842fc1a8714192cd43dc Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Tue, 19 Jan 2021 00:53:00 +0100 Subject: [PATCH] Fixed progress FPS being inf --- Code/OS/AiProcess.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Code/OS/AiProcess.cs b/Code/OS/AiProcess.cs index 07fc251..cdc5715 100644 --- a/Code/OS/AiProcess.cs +++ b/Code/OS/AiProcess.cs @@ -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)