diff options
author | Dave Parks <davep@lindenlab.com> | 2012-03-19 15:31:10 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-03-19 15:31:10 -0500 |
commit | 76eeeadeaadf6f7d7b546382f0daac18a2315f81 (patch) | |
tree | d55a722937d9da25d27832186af8482c1ef4960c /indra/newview/llvovolume.cpp | |
parent | 3894701180e436f313afdb94ed9b5d95f15474ce (diff) |
MAINT-771 Add RenderAutoHideSurfaceAreaLimit debug setting for protecting against sculpt based crashers.
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(); |