From 182c2f9d43113913b430415c9040ac93b4303409 Mon Sep 17 00:00:00 2001 From: Nicolas Perrier Date: Thu, 10 Feb 2022 22:59:00 +0100 Subject: [PATCH] Fixed minimum of files to consider for processing multiple images converter --- SchematicToVoxCore/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicToVoxCore/Program.cs b/SchematicToVoxCore/Program.cs index 84415f5..4d8078e 100644 --- a/SchematicToVoxCore/Program.cs +++ b/SchematicToVoxCore/Program.cs @@ -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);