From 08f2236736f00a1f1d8b2d042b7423fb306dc94f Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Fri, 21 Jun 2024 17:00:45 -0500 Subject: #1831 Fix for redundantly rebuilding bounding boxes forever (#1832) --- indra/newview/llviewerobject.cpp | 2 +- indra/newview/llvovolume.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') 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); -- cgit v1.2.3