Make numVisible faces return visible not invisible duh

meow-7.2.2
Beq 2021-06-26 23:07:03 +01:00
parent a0ea3a5eb4
commit 5194aa08db
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ S32 LLViewerObject::getNumVisibleFaces() const
{
for (int i = 0;i < mDrawable->getNumFaces();i++)
{
if(mDrawable->getFace(i)->getTextureEntry()->getAlpha() == 0.f)
if(mDrawable->getFace(i)->getTextureEntry()->getAlpha() != 0.f)
v++;
}
}