summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2023-08-17 13:05:14 -0400
committerGitHub <noreply@github.com>2023-08-17 13:05:14 -0400
commit9d981c72f8d098baeae9e9fa1e3c4737f957bbe2 (patch)
treee041df46ca357f3071b4c9c7a0799090c45669a6 /indra/llmath/llvolume.cpp
parente06cdc329a83b4c1e52eaf39b4b030763b7d8568 (diff)
parent6cf6f81ae865d4e15b715a93408c7970b6936ce8 (diff)
Merge pull request #332 from secondlife/DRTVWR-588-monterey
Remove unused counters that cause fatal warnings
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)