#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 Ansariel
parent c3ad03a4c5
commit ef69785dfe
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,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;
}