summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpermissions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelpermissions.cpp')
-rw-r--r--indra/newview/llpanelpermissions.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/indra/newview/llpanelpermissions.cpp b/indra/newview/llpanelpermissions.cpp
index fff5c1985b..8a75385984 100644
--- a/indra/newview/llpanelpermissions.cpp
+++ b/indra/newview/llpanelpermissions.cpp
@@ -190,9 +190,6 @@ void LLPanelPermissions::refresh()
childSetEnabled("Description:",false);
childSetText("Object Description",LLStringUtil::null);
childSetEnabled("Object Description",false);
-
- childSetText("prim info",LLStringUtil::null);
- childSetEnabled("prim info",false);
childSetEnabled("Permissions:",false);
@@ -395,33 +392,6 @@ void LLPanelPermissions::refresh()
childSetEnabled("Object Description",false);
}
-
- // Pre-compute object info string
- S32 prim_count = LLSelectMgr::getInstance()->getSelection()->getObjectCount();
- S32 obj_count = LLSelectMgr::getInstance()->getSelection()->getRootObjectCount();
-
- std::string object_info_string;
- if (1 == obj_count)
- {
- object_info_string.assign("1 Object, ");
- }
- else
- {
- object_info_string = llformat( "%d Objects, ", obj_count);
- }
- if (1 == prim_count)
- {
- object_info_string.append("1 Primitive");
- }
- else
- {
- std::string buffer;
- buffer = llformat( "%d Primitives", prim_count);
- object_info_string.append(buffer);
- }
- childSetText("prim info",object_info_string);
- childSetEnabled("prim info",true);
-
S32 total_sale_price = 0;
S32 individual_sale_price = 0;
BOOL is_for_sale_mixed = FALSE;