From 0715790057516dbec279d95e8b1732acd04d0b3a Mon Sep 17 00:00:00 2001
From: Cosmic Linden <cosmic@lindenlab.com>
Date: Mon, 11 Jul 2022 14:53:18 -0700
Subject: [PATCH] SL-17751: Fix bounding boxes not updating in special cases,
 leading to object invisibility

---
 indra/newview/llvovolume.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h
index ce6c155883a..66c87494df6 100644
--- a/indra/newview/llvovolume.h
+++ b/indra/newview/llvovolume.h
@@ -233,7 +233,7 @@ class LLVOVolume : public LLViewerObject
 
 				void	updateFaceFlags();
 				void	regenFaces();
-                BOOL    genBBoxes(BOOL force_global, BOOL should_update_octree_bounds = FALSE);
+                BOOL    genBBoxes(BOOL force_global, BOOL should_update_octree_bounds = TRUE);
 				void	preRebuild();
 	virtual		void	updateSpatialExtents(LLVector4a& min, LLVector4a& max);
 	virtual		F32		getBinRadius();
-- 
GitLab