summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-11-23 21:33:21 +0000
committerDave Parks <davep@lindenlab.com>2021-11-23 21:33:21 +0000
commit8852cb9cbd25df8d25fa43cf39b222ab8381ebd6 (patch)
treed2da70e3cc2581034848dc8c3f9a07966901c86f /indra
parentfecbe73fca8cefc1cd189226e12aab14daaedc3c (diff)
SL-9436 Fix for glow disappearing when 100% transparent.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 4a9bec8df9..464e6efd2e 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5711,7 +5711,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
}
else
{
- if (te->getColor().mV[3] > 0.f)
+ if (te->getColor().mV[3] > 0.f || te->getGlow() > 0.f)
{ //only treat as alpha in the pipeline if < 100% transparent
drawablep->setState(LLDrawable::HAS_ALPHA);
add_face(sAlphaFaces, alpha_count, facep);