]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texwindow.cpp
radiant: do not hide materials using notex textures, only notex materials
[xonotic/netradiant.git] / radiant / texwindow.cpp
index 18311b40262299d04c2553168b2f1071d9b14da1..a1c395cf98641127d2f8ce14fc2648ba9195db9e 100644 (file)
@@ -151,9 +151,6 @@ void TextureGroups_addShader( TextureGroups& groups, const char* shaderName ){
                if ( isNotex( shaderName ) ) {
                        return;
                }
-               if ( isNotex( texture ) ) {
-                       return;
-               }
        }
 
        if ( texture != shaderName ) {
@@ -538,9 +535,6 @@ bool Texture_IsShown( IShader* shader, bool show_shaders, bool hideUnused ){
                if ( isNotex( shader->getName() ) ) {
                        return false;
                }
-               if ( isNotex( shader->getTexture()->name ) ) {
-                       return false;
-               }
        }
 
        if ( g_TextureBrowser_currentDirectory == "Untagged" ) {