Skip to content

Commit

Permalink
added funding file
Browse files Browse the repository at this point in the history
  • Loading branch information
N00MKRAD committed Dec 7, 2020
1 parent b579fcb commit 320b21f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Code/Main/Interpolate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ public static async Task ExtractFrames(string inPath, string outPath, bool extra

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!");

Expand Down Expand Up @@ -237,7 +239,8 @@ public static void Cancel(string reason = "", bool noMsgBox = false)
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}");
}
Expand Down
1 change: 1 addition & 0 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patreon: n00mkrad

0 comments on commit 320b21f

Please sign in to comment.