mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-31 00:51:37 +00:00
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:
parent
8b0f973b94
commit
10da128475
8 changed files with 29 additions and 21 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue