#4349 fix repeats cannot be adjusted for specular when a normal map is not applied
parent
b046a8b72a
commit
b849e0063d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue