From 5e6ef033451133029965a53d81d710189166c388 Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 11 Feb 2021 12:58:07 +0100 Subject: [PATCH] fix preview not updating --- Code/Main/InterpolateUtils.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Main/InterpolateUtils.cs b/Code/Main/InterpolateUtils.cs index 53cc1a2..d8d936a 100644 --- a/Code/Main/InterpolateUtils.cs +++ b/Code/Main/InterpolateUtils.cs @@ -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; }