diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-05-14 11:28:16 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-05-14 11:28:16 +0300 |
commit | 553e4e55828574ad4e148b532504c2ac854a1322 (patch) | |
tree | c1c9d7712638a3ae4720443641c34d2eb46768f3 /indra | |
parent | 9c445f6edca76effd5f86deec6521f7549bbda71 (diff) |
SL-12014 fixed wrong pool type check
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 92936dafb0..f38d336434 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -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; |