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 hash - 874a7d2bc843554aa4facd03b3a6d681f2b5150c + 3692af717636da9c2b1e0f13eb084ce022b67f6c hash_algorithm sha1 url - https://github.com/secondlife/3p-meshoptimizer/releases/download/v220-r1/meshoptimizer-220.0.0-r1-darwin64-11968851109.tar.zst + https://github.com/secondlife/3p-meshoptimizer/releases/download/v1.0.1-9d6a006/meshoptimizer-1.0.1-9d6a006-darwin64-20867041007.tar.zst name darwin64 @@ -1561,11 +1561,11 @@ archive hash - 31a537f1a3d38ef85443214315111dd56a534d9a + 22ad1be39a1196a1ca3902ba936460cb69252b9c hash_algorithm sha1 url - https://github.com/secondlife/3p-meshoptimizer/releases/download/v220-r1/meshoptimizer-220.0.0-r1-linux64-11968851109.tar.zst + https://github.com/secondlife/3p-meshoptimizer/releases/download/v1.0.1-9d6a006/meshoptimizer-1.0.1-9d6a006-linux64-20867041007.tar.zst name linux64 @@ -1575,11 +1575,11 @@ archive hash - 6fd727a9ccb3e7a6c6b4ffef8179e266c032eb3e + 2c9769f31da5de3920d7ee400d280398c911a30f hash_algorithm sha1 url - https://github.com/secondlife/3p-meshoptimizer/releases/download/v220-r1/meshoptimizer-220.0.0-r1-windows64-11968851109.tar.zst + https://github.com/secondlife/3p-meshoptimizer/releases/download/v1.0.1-9d6a006/meshoptimizer-1.0.1-9d6a006-windows64-20867041007.tar.zst 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