diff options
author | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 |
---|---|---|
committer | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 |
commit | 520f710cd6b5826403383f8c3488a94c64ac8081 (patch) | |
tree | 3936a248d991e11b82768ff10a5079789299bb53 /indra/newview/llvoavatar.cpp | |
parent | d4c3300f9b81296f765c83c1e822251e86d91925 (diff) | |
parent | a592292242e29d0379ee72572a434359e1e892d1 (diff) |
Merge remote-tracking branch 'origin/main' into simon/sl-20635-new-data
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 2ddd174ba7..9f149d21fd 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -5233,6 +5233,9 @@ U32 LLVOAvatar::renderRigid() return 0; } + bool should_alpha_mask = shouldAlphaMask(); + LLGLState test(GL_ALPHA_TEST, should_alpha_mask); + if (isTextureVisible(TEX_EYES_BAKED) || (getOverallAppearance() == AOA_JELLYDOLL && !isControlAvatar()) || isUIAvatar()) { LLViewerJoint* eyeball_left = getViewerJoint(MESH_ID_EYEBALL_LEFT); |