summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatermodelpreview.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 02e76d8b17..1336043b7f 100644
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -2968,10 +2968,7 @@ void LLModelPreview::updateStatusMessages()
{
for (U32 i = 0; i < verts[lod].size(); ++i)
{
- const F32 ratio = 0.5f;
-
- F32 scaler = 1.f;
- S32 max_verts = (S32)(verts[lod+1][i]*scaler);
+ S32 max_verts = verts[lod+1][i];
if (verts[lod][i] > max_verts)
{