fix preview not updating

This commit is contained in:
Richard
2021-02-11 12:58:07 +01:00
parent a417ae5a01
commit 5e6ef03345

View File

@@ -82,8 +82,9 @@ namespace Flowframes.Main
if (firstProgUpd && Program.mainForm.IsInFocus())
Program.mainForm.SetTab("preview");
firstProgUpd = false;
string lastFramePath = currentOutdir + "\\" + lastFrame.ToString("00000000") + $".{GetOutExt()}";
if (lastFrame > 1)
UpdateInterpProgress(lastFrame, targetFrames, currentOutdir + lastFrame.ToString("00000000") + $".{GetOutExt()}");
UpdateInterpProgress(lastFrame, targetFrames, lastFramePath);
if (lastFrame >= targetFrames)
break;
}