summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-07-12 14:42:56 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-07-12 14:42:56 -0600
commit5d25338ed0a8580be43f86ff07d777f21d1147e8 (patch)
treea4e42fbf118242c04c4276938a10c681f17bedaa /indra
parent502f01bfef3217ff81eac1df045785c5c9e1764f (diff)
fix for SH-2040: Missing '?: 0' and old style object/prim counts under Edit linked when Mesh disabled
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloatertools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp
index dc71ade621..84fb8bd9e7 100644
--- a/indra/newview/llfloatertools.cpp
+++ b/indra/newview/llfloatertools.cpp
@@ -422,7 +422,7 @@ void LLFloaterTools::refresh()
// Refresh object and prim count labels
LLLocale locale(LLLocale::USER_LOCALE);
-
+#if 0
if (!gMeshRepo.meshRezEnabled())
{
std::string obj_count_string;
@@ -447,6 +447,7 @@ void LLFloaterTools::refresh()
getChildView("RenderingCost")->setEnabled(have_selection && sShowObjectCost);
}
else
+#endif
{
F32 link_phys_cost = LLSelectMgr::getInstance()->getSelection()->getSelectedLinksetPhysicsCost();
F32 link_cost = LLSelectMgr::getInstance()->getSelection()->getSelectedLinksetCost();