mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-18 17:37:48 +01:00
Implemented state saving for resuming (WIP)
This commit is contained in:
@@ -98,7 +98,8 @@ namespace Flowframes.Main
|
||||
public static void UpdateInterpProgress(int frames, int target, string latestFramePath = "")
|
||||
{
|
||||
if (i.canceled) return;
|
||||
|
||||
ResumeUtils.currentOutFrames = frames;
|
||||
ResumeUtils.Save();
|
||||
frames = frames.Clamp(0, target);
|
||||
int percent = (int)Math.Round(((float)frames / target) * 100f);
|
||||
Program.mainForm.SetProgress(percent);
|
||||
|
||||
Reference in New Issue
Block a user