diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-05-29 12:42:53 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-05-29 12:42:53 -0400 |
| commit | 81870e09c98da59bf64289e3fe46f4e4281876d3 (patch) | |
| tree | d9e1a28b3e0e732c6b32d2ea67f5f56de6bc8a7a /indra/newview/llvovolume.cpp | |
| parent | b2baee8e34a141c28fd2a7b60566558c1019c0a9 (diff) | |
| parent | 5db5102fe05f7d2ef3535516da269abb276dad6b (diff) | |
merge changes for DRTVWR-148
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(); |
