summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-08-16 08:25:50 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-08-16 08:25:50 -0400
commit6cf6f81ae865d4e15b715a93408c7970b6936ce8 (patch)
treec8232f05b4fb6ae8551d44d11517e89454be55ef /indra/llmath/llvolume.cpp
parent5430efbb31cfc0f57eac7fd130bb43aafa85143a (diff)
parent48aecb5c8d10926caa62feb94231c3019162836a (diff)
DRTVWR-588: Merge branch 'fix-monterey' into DRTVWR-588-monterey
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rw-r--r--indra/llmath/llvolume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index 40f7b1e9fb..3b586d721f 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -5482,14 +5482,14 @@ bool LLVolumeFace::cacheOptimize()
new_indices.push_back(tri->mVertex[2]->mIdx);
tri->complete();
- U32 breaks = 0;
+ //U32 breaks = 0;
for (U32 i = 1; i < mNumIndices/3; ++i)
{
cache.updateScores();
tri = cache.mBestTriangle;
if (!tri)
{
- breaks++;
+ //breaks++;
for (U32 j = 0; j < triangle_data.size(); ++j)
{
if (triangle_data[j].mActive)