Skip to content

Commit d6419f7

Browse files
committed
#4109 Fix GLTF model extents calculation
1 parent 83fa366 commit d6419f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

indra/newview/gltf/llgltfloader.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@ bool LLGLTFLoader::populateModelFromMesh(LLModel* pModel, const LL::GLTF::Mesh&
588588
}
589589
}
590590

591+
// Call normalizeVolumeFaces to compute proper extents
592+
pModel->normalizeVolumeFaces();
593+
591594
// Fill joint names, bind matrices and prepare to remap weight indices
592595
if (skinIdx >= 0)
593596
{

0 commit comments

Comments
 (0)