summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2011-05-27 11:50:39 -0700
committerRoxie Linden <roxie@lindenlab.com>2011-05-27 11:50:39 -0700
commit31e850d04885bed2ac779c66bb6b7923a0a51d96 (patch)
tree834cac4630edfae9dca3d44e9c20b1d1c68ff484 /indra/newview/llviewerwindow.cpp
parent51bc6c01c10723d1682392fe8a15528fc7f4b7cb (diff)
transplant fix for SH-1467
viewer now uses simulatorfeatures to check whether to show UI elements for mesh or not
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 6fe79c2e85..4ecf156646 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -601,7 +601,7 @@ public:
ypos += y_inc;
- if (gSavedSettings.getBOOL("MeshEnabled"))
+ if (gMeshRepo.meshRezEnabled())
{
addText(xpos, ypos, llformat("%.3f MB Mesh Data Received", LLMeshRepository::sBytesReceived/(1024.f*1024.f)));