diff options
author | Dave Parks <davep@lindenlab.com> | 2010-06-10 00:45:48 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-06-10 00:45:48 -0500 |
commit | f9b13d8f8510b1f7f02fcf92685471461b79858e (patch) | |
tree | 72e3469605fb33aedc211649778c22ada2719d5c /indra/newview/llface.cpp | |
parent | c2da9f5d2cc86af0af34199c53e872fbff22637b (diff) |
Add "LL_MESH_ENABLED" preprocessor flag for toggling mesh code. Couple of merge fixes.
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index e4f9e28c77..c48106863e 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -224,11 +224,13 @@ void LLFace::destroy() { LLFastTimer t(FTM_DESTROY_DRAWPOOL); +#if LL_MESH_ENABLED if (this->isState(LLFace::RIGGED) && mDrawPoolp->getType() == LLDrawPool::POOL_AVATAR) { ((LLDrawPoolAvatar*) mDrawPoolp)->removeRiggedFace(this); } else +#endif { mDrawPoolp->removeFace(this); } |