diff options
author | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:46:50 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:46:50 -0500 |
commit | ad8fb0e1bb6c242cc84aa3d2cfaabc9ee36e39b6 (patch) | |
tree | f9a4fe3e89595e9f078d4bcd5a4f37139cfee005 /indra/newview/llface.cpp | |
parent | b0fa1e011f14356b3634f39d32f43e244b6f1298 (diff) | |
parent | f324787a70b8fccc7a8ea202805bf726fba765a7 (diff) |
merge
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 7866e49bae..0e0b8447ca 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -205,7 +205,12 @@ void LLFace::destroy() if (mDrawPoolp) { LLFastTimer t(FTM_DESTROY_DRAWPOOL); + + if (this->isState(LLFace::RIGGED) && mDrawPoolp->getType() == LLDrawPool::POOL_AVATAR) mDrawPoolp->removeFace(this); + + + mDrawPoolp = NULL; } |