adspartan : ui: texturing gui: don't show _h textures in the texture palette
785cec2678
+ show textures without specular by default
This commit is contained in:
@@ -104,6 +104,7 @@ namespace Noggit
|
|||||||
|
|
||||||
if ( entry.find ("tileset") != std::string::npos
|
if ( entry.find ("tileset") != std::string::npos
|
||||||
&& entry.find (".blp") != 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"));
|
auto suffix_pos (entry.find ("_s.blp"));
|
||||||
@@ -172,7 +173,7 @@ namespace Noggit
|
|||||||
specular_filter->setFilterRegExp (on ? "true" : "");
|
specular_filter->setFilterRegExp (on ? "true" : "");
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
only_specular->setChecked (true);
|
only_specular->setChecked (false);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user