Modern features (height texturing, WMO scaling, maptexture generation)

This commit is contained in:
Martin Benjamins
2024-11-01 02:48:08 +00:00
committed by T1ti
parent df5374d443
commit d93dbc55ad
51 changed files with 928 additions and 130 deletions

7
src/noggit/texture_set.cpp Executable file → Normal file
View File

@@ -295,6 +295,13 @@ bool TextureSet::eraseUnusedTextures()
return false;
}
QSettings settings;
bool cleanup_unused_textures = settings.value("cleanup_unused_textures", true).toBool();
if (!cleanup_unused_textures)
{
return false;
}
std::set<int> visible_tex;
if (tmp_edit_values)