summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-04-06 12:57:07 -0500
committerDave Parks <davep@lindenlab.com>2022-04-06 12:57:07 -0500
commitbc7dc2f94985658595093d4619b4a0ad25f2ff37 (patch)
tree96f0a609d092b0702a0ad96377fe0f70d608eae8 /indra
parent84e22d410efb9ab774c9c5d8fe240c9c37c8e69b (diff)
SL-17160 Ignore "getIsAlphaMask" on rigged faces.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index b328dd2962..b4f4d52014 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1172,6 +1172,11 @@ bool LLFace::canRenderAsMask()
return true;
}
+ if (isState(LLFace::RIGGED))
+ { // never auto alpha-mask rigged faces
+ return false;
+ }
+
const LLTextureEntry* te = getTextureEntry();
if( !te || !getViewerObject() || !getTexture() )
{