diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-08-17 13:16:13 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-08-17 13:16:13 -0400 |
commit | 70c5dc871ba21ea0b08e84535d14530d0d8afd81 (patch) | |
tree | 13998b4df2dee5ad4a2da1cacfb5d9c7929ff95d /indra/llmath | |
parent | b5fe9c476943807aa7526f67dd648b5ad250824b (diff) | |
parent | 9d981c72f8d098baeae9e9fa1e3c4737f957bbe2 (diff) |
DRTVWR-588: Merge branch 'DRTVWR-588-maint-W' into DRTVWR-588-cleanup-timers
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llvolume.cpp | 4 |
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) |