#4349 fix repeats cannot be adjusted for specular when a normal map is not applied

meow-7.2.2
Maxim Nikolenko 2025-07-10 15:15:10 +03:00 committed by GitHub
parent 58420b8e63
commit 210abc3755
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ LLRender::eTexIndex LLPanelFace::getMatTextureChannel()
return LLRender::NORMAL_MAP;
break;
case MATTYPE_SPECULAR: // "Shininess (specular)"
if (getCurrentNormalMap().notNull())
if (getCurrentSpecularMap().notNull())
return LLRender::SPECULAR_MAP;
break;
}