Changed: both DoomTexture and DoomFlat formats should be checked when determining an image format if "Mix textures and flats" flag is set.

Changed: "imgz" images are now skipped while loading textures.
This commit is contained in:
MaxED 2014-10-12 21:59:16 +00:00
parent 8b0f973b94
commit 10da128475
8 changed files with 29 additions and 21 deletions

View file

@ -630,6 +630,9 @@ namespace CodeImp.DoomBuilder.Data
string[] files = GetAllFiles(path, includesubdirs);
foreach(string f in files)
{
//mxd. Skip IMGZ files
if(Path.GetExtension(f).ToUpperInvariant() == ".IMGZ") continue;
// Make the texture name from filename without extension
name = Path.GetFileNameWithoutExtension(f);