diff options
author | Dave Parks <davep@lindenlab.com> | 2022-04-06 12:57:07 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-04-06 12:57:07 -0500 |
commit | bc7dc2f94985658595093d4619b4a0ad25f2ff37 (patch) | |
tree | 96f0a609d092b0702a0ad96377fe0f70d608eae8 /indra | |
parent | 84e22d410efb9ab774c9c5d8fe240c9c37c8e69b (diff) |
SL-17160 Ignore "getIsAlphaMask" on rigged faces.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llface.cpp | 5 |
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() ) { |