summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-14 16:39:46 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-14 16:40:56 +0300
commit45bcefd981e268b158d11d59f2ba9063293986a6 (patch)
treeeefeda2338e1f7d15755214f075cbb3f18c0c0b8 /indra/llmath/llvolume.cpp
parentb08340f1831005ae227577899a64408cc939a12d (diff)
SL-17475 fix remap causing an assert
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 23f372f6e3..9efdcd4e8c 100644
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -4957,8 +4957,8 @@ void LLVolumeFace::remap()
{
// generate a remap buffer
std::vector<unsigned int> remap(mNumIndices);
- S32 remap_vertices_count = LLMeshOptimizer::generateRemapMulti(&remap[0],
- NULL,
+ S32 remap_vertices_count = LLMeshOptimizer::generateRemapMultiU16(&remap[0],
+ mIndices,
mNumIndices,
mPositions,
mNormals,