summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-16 00:10:29 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-16 00:10:29 +0300
commitbdb8caf790207e1a6f46d495a586b38bb52e58e9 (patch)
tree3ed50d019b3d78c748ed6b46ca69f2ca7943f41a /indra/newview/llface.cpp
parentc8217c156a96faa95ed92e8c0a6d7c43960da46d (diff)
parent29be88d60d654193926add496d2d851f7c217356 (diff)
Merge branch 'release/materials_featurette' into marchcat/x-mf-merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 0b1ceaa977..4c26e6b8af 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1265,7 +1265,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
if (rebuild_color)
{ //decide if shiny goes in alpha channel of color
if (tep &&
- !isInAlphaPool()) // <--- alpha channel MUST contain transparency, not shiny
+ !isInAlphaPool() && tep->getGLTFRenderMaterial() == nullptr) // <--- alpha channel MUST contain transparency, not shiny
{
LLMaterial* mat = tep->getMaterialParams().get();