summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-07-10 15:15:10 +0300
committerGitHub <noreply@github.com>2025-07-10 15:15:10 +0300
commit210abc3755038d3b8630a646734df52fa54459fd (patch)
tree4a039d9945f973c4839f006f50f8fe49321f3d10 /indra
parent58420b8e63d2f5ac6a0ebe858a34061b16c9c16b (diff)
#4349 fix repeats cannot be adjusted for specular when a normal map is not applied
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 0086a9a86d..25dd37590d 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -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;
}