From 320b21f29e9f7497c0f959d3a772698d34a29e5b Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Mon, 7 Dec 2020 16:20:00 +0100 Subject: [PATCH] added funding file --- Code/Main/Interpolate.cs | 5 ++++- FUNDING.yml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 FUNDING.yml diff --git a/Code/Main/Interpolate.cs b/Code/Main/Interpolate.cs index ec30276..d6ca59e 100644 --- a/Code/Main/Interpolate.cs +++ b/Code/Main/Interpolate.cs @@ -146,6 +146,8 @@ namespace Flowframes public static async Task PostProcessFrames (bool sbsMode = false) { + if (canceled) return; + if (!Directory.Exists(currentFramesPath) || currentInputFrameCount <= 0 || IOUtils.GetAmountOfFiles(currentFramesPath, false, "*.png") < 2) Cancel("Extracted frames folder is empty!"); @@ -237,7 +239,8 @@ namespace Flowframes IOUtils.TryDeleteIfExists(currentTempDir); Program.mainForm.SetWorking(false); Program.mainForm.SetTab("interpolation"); - Logger.Log("Canceled interpolation."); + if(!Logger.GetLastLine().Contains("Canceled interpolation.")) + Logger.Log("Canceled interpolation."); if (!string.IsNullOrWhiteSpace(reason) && !noMsgBox) Utils.ShowMessage($"Canceled:\n\n{reason}"); } diff --git a/FUNDING.yml b/FUNDING.yml new file mode 100644 index 0000000..309d130 --- /dev/null +++ b/FUNDING.yml @@ -0,0 +1 @@ +patreon: n00mkrad \ No newline at end of file