SL-17160 Ignore "getIsAlphaMask" on rigged faces.

meow-7.2.2
Dave Parks 2022-04-06 12:57:07 -05:00
parent 84e22d410e
commit bc7dc2f949
1 changed files with 5 additions and 0 deletions

View File

@ -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() )
{