summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-10-25 17:32:19 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-10-25 17:32:19 +0300
commit4f5d78522632920586e7e4bf7acbc908f9492edb (patch)
tree1b93b5f285fb54815c9823cdd3e89d778409d113 /indra/newview/llface.cpp
parent62ce96a77b4305ead8fdde7644805b1cbf069597 (diff)
SL-12014 Animesh is now a separate rendering type
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 912bde9986..ebdd0c61d5 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -194,7 +194,7 @@ void LLFace::destroy()
if (mDrawPoolp)
{
- if (this->isState(LLFace::RIGGED) && mDrawPoolp->getType() == LLDrawPool::POOL_AVATAR)
+ if (this->isState(LLFace::RIGGED) && (mDrawPoolp->getType() == LLDrawPool::POOL_CONTROL_AV || mDrawPoolp->getType() == LLDrawPool::POOL_AVATAR))
{
((LLDrawPoolAvatar*) mDrawPoolp)->removeRiggedFace(this);
}