summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorHenri Beauchamp <8734940+vldevel@users.noreply.github.com>2025-07-22 18:22:55 +0200
committerGitHub <noreply@github.com>2025-07-22 19:22:55 +0300
commit08971cd9ac4a865ccc312f8ebe381e620062339c (patch)
treecc45b9a2881932f4859178f501032236df01f8dc /indra/newview/llappviewer.cpp
parent8efc4744decd4827ebd84d864dda154ecd8c5ce0 (diff)
Fix a crash bug and bogus calculations in LLMeshRepoThread::lodReceived() (#4398, #4408)
When trying to update the rigging info for a newly received mesh LOD, a wrong usage of LLVolume::getNumFaces() is done to get the number of volume faces, causing the code to iterate over the number of faces in the underlying LLProfile instead. LLVolume::getNumVolumeFaces() must be used here. This fixes a crash bug seen with low LODs in some meshes (when the number of mesh faces is smaller than the number of faces in the LLProfile), and also properly updates the rigging info for all mesh faces, as it should, when the mesh got more faces than the LLProfile.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
0 files changed, 0 insertions, 0 deletions