From 0d50dddd156649125031a7c1cb0b9c08dc9d27ba Mon Sep 17 00:00:00 2001 From: T1ti <40864460+T1ti@users.noreply.github.com> Date: Fri, 30 Aug 2024 22:55:50 +0200 Subject: [PATCH] adspartan : ui: texturing gui: don't show _h textures in the texture palette https://github.com/wowdev/noggit3/commit/785cec2678c0d1a3e0dab02f7ba33a7c7290f1a7 + show textures without specular by default --- src/noggit/ui/TexturingGUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/noggit/ui/TexturingGUI.cpp b/src/noggit/ui/TexturingGUI.cpp index 272a3813..f87e4415 100755 --- a/src/noggit/ui/TexturingGUI.cpp +++ b/src/noggit/ui/TexturingGUI.cpp @@ -104,6 +104,7 @@ namespace Noggit if ( entry.find ("tileset") != std::string::npos && entry.find (".blp") != std::string::npos + && entry.find("_h.blp") == std::string::npos // skip _h textures ) { auto suffix_pos (entry.find ("_s.blp")); @@ -172,7 +173,7 @@ namespace Noggit specular_filter->setFilterRegExp (on ? "true" : ""); } ); - only_specular->setChecked (true); + only_specular->setChecked (false);