summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
commitb8e67774397f2878aafc5906845f5f738e00c408 (patch)
tree02ed12e0d5534fbf71f3ab8ce222d7508d73166d /indra/llmath
parent755f9d9ac9548e27d68ec701676e20c4824833f8 (diff)
parentd454512050e636a19e4b7545515dea4f4b1bbf0d (diff)
SL-18837: Merge branch 'main' into actions
Diffstat (limited to 'indra/llmath')
-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)