From 5bc057e0abd8c38f5d1b9363879ec8f43dc89e38 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Thu, 22 Feb 2018 16:11:06 +0000 Subject: MAINT-8264 - test for performance/behavior change --- indra/newview/llvovolume.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index a07e3f8be1..9e7a6a410a 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1517,7 +1517,12 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) if (getRiggedVolume()) { - updateRiggedVolume(TRUE); + // MAINT-8264 - better to use the existing call in calling + // func LLVOVolume::updateGeometry() if we can detect when + // updates needed, set REBUILD_RIGGED accordingly. + + // Without the flag, this will remove unused rigged volumes, which we are not currently very aggressive about. + updateRiggedVolume(); } LLVolume* volume = mRiggedVolume; -- cgit v1.2.3