summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/gltf/llgltfloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/gltf/llgltfloader.cpp b/indra/newview/gltf/llgltfloader.cpp
index 1d7b44e566..528b932dd3 100644
--- a/indra/newview/gltf/llgltfloader.cpp
+++ b/indra/newview/gltf/llgltfloader.cpp
@@ -212,9 +212,9 @@ void LLGLTFLoader::addModelToScene(
for (auto model : ready_models)
{
// remove unused/redundant vertices
- current_model->remapVolumeFaces();
+ model->remapVolumeFaces();
// remove unused/redundant weights and joints
- current_model->remapSkinWeightsAndJoints();
+ model->remapSkinWeightsAndJoints();
mModelList.push_back(model);