minor cleanup

This commit is contained in:
N00MKRAD
2021-02-25 14:57:57 +01:00
parent 20ceeee396
commit 6d1aca4714

View File

@@ -81,6 +81,7 @@ namespace Flowframes.Main
string scnFramesPath = Path.Combine(framesPath.GetParentDir(), Paths.scenesDir);
sceneFrames.Clear();
if (Directory.Exists(scnFramesPath))
sceneFrames = Directory.GetFiles(scnFramesPath).Select(file => Path.GetFileNameWithoutExtension(file)).ToList();
@@ -88,9 +89,6 @@ namespace Flowframes.Main
int interpFramesAmount = (int)interpFactor; // TODO: This code won't work with fractional factors
Stopwatch delaySw = new Stopwatch(); delaySw.Start();
Stopwatch printSw = new Stopwatch(); printSw.Start();
List<Task> tasks = new List<Task>();
int linesPerTask = 400 / (int)interpFactor;
int num = 0;