diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:45:44 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-05-01 00:45:44 -0500 |
| commit | f324787a70b8fccc7a8ea202805bf726fba765a7 (patch) | |
| tree | f002e1c3d1d9feb04bbba3d0e34e4d2dc6656eca /indra/newview/llface.cpp | |
| parent | d71716aa6dde434b6356cfe85e3a8fce376056dd (diff) | |
Rigged attachment integration WIP.
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; } |
