summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-07-16 16:17:19 +0300
committerGitHub <noreply@github.com>2025-07-16 16:17:19 +0300
commitb849e0063d0463e598898b9e12c3e72fc033f9c5 (patch)
treef74518aaf7f1c00d74527cb8886b57be430b1dec /indra
parentb046a8b72ab7959c789b1b5dfb7da42e97044ba4 (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;
}