summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-14 12:22:51 -0600
committerDave Parks <davep@lindenlab.com>2023-02-14 12:22:51 -0600
commit1b19b7cdc9e3d7560c3bd952d81076aee5ae13c2 (patch)
tree1625f5a042bfb186ead650e9d7fe600c2a8278ce
parent914ae0448fea64147d9a8b601e34ceac85e0dd01 (diff)
SL-18983 and SL-18680 Disable automatic alpha masking on HUDs.
-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 9f51509f96..fec9f1cdd1 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -6681,7 +6681,7 @@ U32 LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, LLFace
{ //100% transparent, don't render unless we're highlighting transparent
registerFace(group, facep, LLRenderPass::PASS_ALPHA_INVISIBLE);
}
- else if (facep->canRenderAsMask())
+ else if (facep->canRenderAsMask() && !hud_group)
{
if (te->getFullbright() || LLPipeline::sNoAlpha)
{