summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-02 13:26:14 -0500
committerDave Parks <davep@lindenlab.com>2010-10-02 13:26:14 -0500
commit9ee06f2f90fd4350676c1d62cabdcc647efe7e7a (patch)
tree8b3bc811f8d9bdfe7ed62480a218ed1a6480873e /indra
parenteb3a78ebe4c58cceea485697d58df7d4796c0a1f (diff)
Remove unused variables.
Diffstat (limited to 'indra')
-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)
{