Skip to content

Commit

Permalink
Fixed minimum of files to consider for processing multiple images con…
Browse files Browse the repository at this point in the history
…verter
  • Loading branch information
Zarbuz committed Feb 10, 2022
1 parent 6e2693a commit 182c2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SchematicToVoxCore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private static bool ProcessFile()
converter = new MultipleImageToSchematic(images, EXCAVATE, INPUT_COLOR_FILE, COLOR_LIMIT);
return SchematicToVox(converter);
}
if (files.Length > 0)
if (files.Length > 1)
{
converter = new MultipleImageToSchematic(files.Where(s => s.EndsWith(".png") && !string.IsNullOrEmpty(s)).ToList(), EXCAVATE, INPUT_COLOR_FILE, COLOR_LIMIT);
return SchematicToVox(converter);
Expand Down

0 comments on commit 182c2f9

Please sign in to comment.