summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrish-sl <sl.trish.ace@gmail.com>2026-03-12 00:56:19 -0400
committerGitHub <noreply@github.com>2026-03-12 00:56:19 -0400
commit6194e8829f274a8f6b12c6b80baa105b350bd975 (patch)
tree0eb6728fb1d615a3496745ed8c7a64244509f58a
parentd35be21e0a88019c0a57c8af7d14a57789396934 (diff)
Merge pull request #5411 from trish-sl/fix-highlighttransparency-alphablend0
FIX - PBR materials with alpha mode BLEND and alpha value of 0 are not highlighted
-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 b328d3a414..c12f65babf 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5983,7 +5983,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
bool should_render = true;
if (gltf_mat->mAlphaMode == LLGLTFMaterial::ALPHA_MODE_BLEND)
{
- if (gltf_mat->mBaseColor.mV[3] == 0.0f)
+ if (gltf_mat->mBaseColor.mV[3] == 0.0f && !LLDrawPoolAlpha::sShowDebugAlpha)
{
should_render = false;
}