diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-27 08:10:29 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-27 08:10:29 -0400 |
commit | 5ed8ec6ca45fcae6a6708e55326010fd8c05d76c (patch) | |
tree | 433af79631cf0f386c6cf991cb01e119d5187009 /indra/newview/llvovolume.cpp | |
parent | a4913246770b58ed569021c484c213231aaae549 (diff) | |
parent | 90547ff411db177bf6424ca553449a81a808fc0f (diff) |
merge up to 3.3.3-release
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index e7c35d8220..080d1f774a 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -4123,6 +4123,9 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) group->mGeometryBytes = 0; group->mSurfaceArea = 0; + //cache object box size since it might be used for determining visibility + group->mObjectBoxSize = group->mObjectBounds[1].getLength3().getF32(); + group->clearDrawMap(); mFaceList.clear(); |