diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2022-06-21 17:55:29 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2022-06-21 17:55:29 +0300 |
commit | 076a89506243e8d4037f34c2a78278ff6ee0f1f7 (patch) | |
tree | 45c3ec67ebbdda60386f6b131fd218a292f77d52 /indra/newview/llmeshrepository.cpp | |
parent | 791b7ff0e99c40b9de1b542f1231d21faebada05 (diff) |
SL-17635 remove unused variables
Diffstat (limited to 'indra/newview/llmeshrepository.cpp')
-rw-r--r-- | indra/newview/llmeshrepository.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index d28e929b48..92b062a51f 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -2054,17 +2054,6 @@ EMeshProcessingResult LLMeshRepoThread::physicsShapeReceived(const LLUUID& mesh_ if (volume->unpackVolumeFaces(stream, data_size)) { - //load volume faces into decomposition buffer - S32 vertex_count = 0; - S32 index_count = 0; - - for (S32 i = 0; i < volume->getNumVolumeFaces(); ++i) - { - const LLVolumeFace& face = volume->getVolumeFace(i); - vertex_count += face.mNumVertices; - index_count += face.mNumIndices; - } - d->mPhysicsShapeMesh.clear(); std::vector<LLVector3>& pos = d->mPhysicsShapeMesh.mPositions; |