mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-17 00:47:48 +01:00
Fixed batch processing FPS loading not working correctly
This commit is contained in:
@@ -153,11 +153,12 @@ namespace Flowframes
|
||||
|
||||
public void runBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
SetTab("interpolate");
|
||||
if (!BatchProcessing.busy)
|
||||
if (!BatchProcessing.busy) // Don't load values from gui if batch processing is used
|
||||
{
|
||||
SetTab("interpolation");
|
||||
Interpolate.SetFps(fpsInTbox.GetFloat());
|
||||
Interpolate.interpFactor = interpFactorCombox.GetInt();
|
||||
}
|
||||
string inPath = inputTbox.Text.Trim();
|
||||
string outPath = outputTbox.Text.Trim();
|
||||
Interpolate.Start(inPath, outPath, GetTilesize(), GetOutMode(), GetAi());
|
||||
|
||||
@@ -132,13 +132,11 @@ namespace Flowframes.Main
|
||||
ShowMessage("Invalid target frame rate - Must be 1-500.");
|
||||
passes = false;
|
||||
}
|
||||
|
||||
if (tilesize % 32 != 0 || tilesize < 128)
|
||||
{
|
||||
ShowMessage("Tile size is not valid - Must be a multiple of 32 and at least 128!");
|
||||
passes = false;
|
||||
}
|
||||
|
||||
if (!passes)
|
||||
i.Cancel("Invalid settings detected.");
|
||||
return passes;
|
||||
|
||||
Reference in New Issue
Block a user