SL-12014 fixed wrong pool type check

meow-7.2.2
Andrey Kleshchev 2020-05-14 11:28:16 +03:00
parent 9c445f6edc
commit 553e4e5582
1 changed files with 1 additions and 5 deletions

View File

@ -1799,13 +1799,9 @@ void LLDrawPoolAvatar::getRiggedGeometry(
{
face->setPoolType(LLDrawPool::POOL_ALPHA);
}
else if (type == LLDrawPool::POOL_CONTROL_AV)
{
face->setPoolType(LLDrawPool::POOL_CONTROL_AV);
}
else
{
face->setPoolType(LLDrawPool::POOL_AVATAR);
face->setPoolType(mType); // either POOL_AVATAR or POOL_CONTROL_AV
}
//LL_INFOS() << "Rebuilt face " << face->getTEOffset() << " of " << face->getDrawable() << " at " << gFrameTimeSeconds << LL_ENDL;