summaryrefslogtreecommitdiff
path: root/indra/newview/llmodelpreview.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-06-21 17:55:29 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-06-21 17:55:29 +0300
commit076a89506243e8d4037f34c2a78278ff6ee0f1f7 (patch)
tree45c3ec67ebbdda60386f6b131fd218a292f77d52 /indra/newview/llmodelpreview.cpp
parent791b7ff0e99c40b9de1b542f1231d21faebada05 (diff)
SL-17635 remove unused variables
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r--indra/newview/llmodelpreview.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp
index d012a9b328..d64f1a36f5 100644
--- a/indra/newview/llmodelpreview.cpp
+++ b/indra/newview/llmodelpreview.cpp
@@ -2583,8 +2583,6 @@ void LLModelPreview::clearBuffers()
void LLModelPreview::genBuffers(S32 lod, bool include_skin_weights)
{
- U32 tri_count = 0;
- U32 vertex_count = 0;
U32 mesh_count = 0;
@@ -2720,10 +2718,7 @@ void LLModelPreview::genBuffers(S32 lod, bool include_skin_weights)
mVertexBuffer[lod][mdl].push_back(vb);
- vertex_count += num_vertices;
- tri_count += num_indices / 3;
++mesh_count;
-
}
}
}