From 5fbd5a15f37a45582704388a39cceb12cb80feb0 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com>
Date: Sat, 10 Jan 2026 01:13:06 +0200
Subject: #5249 Update mesh optimizer to v1.0.1
According to change log it fixes the indices assert among other changes.
---
autobuild.xml | 12 ++++++------
indra/llmeshoptimizer/llmeshoptimizer.cpp | 1 -
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/autobuild.xml b/autobuild.xml
index d58a785b6b..95f50664a8 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -1547,11 +1547,11 @@
archive
name
darwin64
@@ -1561,11 +1561,11 @@
archive
name
linux64
@@ -1575,11 +1575,11 @@
archive
name
windows64
diff --git a/indra/llmeshoptimizer/llmeshoptimizer.cpp b/indra/llmeshoptimizer/llmeshoptimizer.cpp
index 7339454367..76d51fdad0 100644
--- a/indra/llmeshoptimizer/llmeshoptimizer.cpp
+++ b/indra/llmeshoptimizer/llmeshoptimizer.cpp
@@ -171,7 +171,6 @@ size_t LLMeshOptimizer::generateRemapMultiU32(
// but providing indices helps with removing unused vertices
U64 indeces_cmp = indices ? index_count : vertex_count;
- // meshopt_generateVertexRemapMulti will throw an assert if (indices[i] >= vertex_count)
return meshopt_generateVertexRemapMulti(&remap[0], indices, indeces_cmp, vertex_count, streams, sizeof(streams) / sizeof(streams[0]));
}
--
cgit v1.3