summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-03-01 20:27:07 -0600
committerDave Parks <davep@lindenlab.com>2010-03-01 20:27:07 -0600
commit21586ca40f661ec0c5bcce37dc681b3b37ee5a08 (patch)
treed46074e8b5289eaad53039f8713579ffeac58363 /indra
parentdc01f8db212a09c9745e72e7f01c61ba648b3355 (diff)
Fix for gcc compiler error ?
Fix for cropping of models in model preview window. Fix for prim count and upload cost always being 0.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 5b21e13bf1..d682e85b7e 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -588,11 +588,11 @@ public:
if (gSavedSettings.getBOOL("DebugShowUploadCost"))
{
addText(xpos, ypos, llformat(" Meshes: L$%d", gPipeline.mDebugMeshUploadCost));
- ypos += y_inc/2.f;
+ ypos += y_inc/2;
addText(xpos, ypos, llformat(" Sculpties: L$%d", gPipeline.mDebugSculptUploadCost));
- ypos += y_inc/2.f;
+ ypos += y_inc/2;
addText(xpos, ypos, llformat(" Textures: L$%d", gPipeline.mDebugTextureUploadCost));
- ypos += y_inc/2.f;
+ ypos += y_inc/2;
addText(xpos, ypos, "Upload Cost: ");
ypos += y_inc;