diff --git a/indra/newview/vjlocalmesh.cpp b/indra/newview/vjlocalmesh.cpp index d6a0f0ad94..b5f27b61ff 100644 --- a/indra/newview/vjlocalmesh.cpp +++ b/indra/newview/vjlocalmesh.cpp @@ -310,7 +310,6 @@ void LLLocalMeshObject::fillVolume(LLLocalMeshFileLOD lod) // generate face data std::vector new_faces; - bool weight_attributes_found = false; for (auto& current_submesh : mFaces[lod]) { @@ -342,7 +341,6 @@ void LLLocalMeshObject::fillVolume(LLLocalMeshFileLOD lod) // weight attribute if (!current_submesh->getSkin().empty()) { - weight_attributes_found = true; new_face.allocateWeights(current_submesh->getSkin().size()); for (size_t weight_iter = 0; weight_iter < current_submesh->getSkin().size(); ++weight_iter) {