diff options
author | Dave Parks <davep@lindenlab.com> | 2010-03-06 00:42:39 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-03-06 00:42:39 -0600 |
commit | 1889d02569a58d08b6c452e609819a1961bf64e8 (patch) | |
tree | 9b81ccad249cced08652541dc66f4465a9cd1ae5 /indra/newview/llvovolume.cpp | |
parent | ed8e6f65fcc6065101a5decb26be31a4bfdefe5d (diff) |
Better bounding boxes for meshes.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 39db6196a3..1d3d943b06 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1329,7 +1329,7 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) BOOL rebuild = mDrawable->isState(LLDrawable::REBUILD_VOLUME | LLDrawable::REBUILD_POSITION); - for (S32 i = 0; i < getVolume()->getNumFaces(); i++) + for (S32 i = 0; i < getVolume()->getNumVolumeFaces(); i++) { LLFace *face = mDrawable->getFace(i); if (!face) |