diff options
author | Dave Parks <davep@lindenlab.com> | 2024-06-21 17:00:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 15:00:45 -0700 |
commit | 08f2236736f00a1f1d8b2d042b7423fb306dc94f (patch) | |
tree | 8c33f4be7b6defd0951ec007e8b1901decd10545 /indra | |
parent | c13eba105f9dcdc4b946e8b5443abf9baf15b691 (diff) |
#1831 Fix for redundantly rebuilding bounding boxes forever (#1832)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewerobject.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llvovolume.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 8af0057c88..e108f9c268 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -3676,7 +3676,7 @@ bool LLViewerObject::updateLOD() bool LLViewerObject::updateGeometry(LLDrawable *drawable) { - return false; + return true; } void LLViewerObject::updateGL() diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index de62256134..71f3c2a3aa 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -2039,6 +2039,7 @@ bool LLVOVolume::updateGeometry(LLDrawable *drawable) if (mDrawable->isState(LLDrawable::REBUILD_RIGGED)) { + LL_PROFILE_ZONE_NAMED_CATEGORY_VOLUME("rebuild rigged"); updateRiggedVolume(false); genBBoxes(false); mDrawable->clearState(LLDrawable::REBUILD_RIGGED); |