Better py error handling, fixed input frames that are not divisible by 2

This commit is contained in:
N00MKRAD
2020-11-24 12:28:47 +01:00
parent 4623aa149b
commit b593baf3e3
6 changed files with 53 additions and 30 deletions

View File

@@ -25,7 +25,7 @@ namespace Flowframes.Main
return;
if (IOUtils.GetAmountOfFiles(path, false, $"*.{InterpolateUtils.lastExt}") <= 1)
{
i.Cancel("Output folder does not contain frames - An error must have occured during interpolation!");
i.Cancel("Output folder does not contain frames - An error must have occured during interpolation!", AiProcess.hasShownError);
return;
}
await Task.Delay(10);