diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/gltf/llgltfloader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/gltf/llgltfloader.cpp b/indra/newview/gltf/llgltfloader.cpp index a64df86770..3312e61595 100644 --- a/indra/newview/gltf/llgltfloader.cpp +++ b/indra/newview/gltf/llgltfloader.cpp @@ -588,6 +588,9 @@ bool LLGLTFLoader::populateModelFromMesh(LLModel* pModel, const LL::GLTF::Mesh& } } + // Call normalizeVolumeFaces to compute proper extents + pModel->normalizeVolumeFaces(); + // Fill joint names, bind matrices and prepare to remap weight indices if (skinIdx >= 0) { |