diff options
Diffstat (limited to 'linden/indra/newview/llfloatertopobjects.cpp')
-rw-r--r-- | linden/indra/newview/llfloatertopobjects.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatertopobjects.cpp b/linden/indra/newview/llfloatertopobjects.cpp index ada5c68..0afa618 100644 --- a/linden/indra/newview/llfloatertopobjects.cpp +++ b/linden/indra/newview/llfloatertopobjects.cpp | |||
@@ -180,7 +180,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
180 | msg->getF32Fast(_PREHASH_ReportData, _PREHASH_Score, score, block); | 180 | msg->getF32Fast(_PREHASH_ReportData, _PREHASH_Score, score, block); |
181 | msg->getStringFast(_PREHASH_ReportData, _PREHASH_TaskName, name_buf, block); | 181 | msg->getStringFast(_PREHASH_ReportData, _PREHASH_TaskName, name_buf, block); |
182 | msg->getStringFast(_PREHASH_ReportData, _PREHASH_OwnerName, owner_buf, block); | 182 | msg->getStringFast(_PREHASH_ReportData, _PREHASH_OwnerName, owner_buf, block); |
183 | if(msg->getNumberOfBlocks("DataExtended")) | 183 | if(msg->has("DataExtended")) |
184 | { | 184 | { |
185 | have_extended_data = true; | 185 | have_extended_data = true; |
186 | msg->getU32("DataExtended", "TimeStamp", time_stamp, block); | 186 | msg->getU32("DataExtended", "TimeStamp", time_stamp, block); |
@@ -212,7 +212,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
212 | if (mCurrentMode == STAT_REPORT_TOP_SCRIPTS | 212 | if (mCurrentMode == STAT_REPORT_TOP_SCRIPTS |
213 | && have_extended_data) | 213 | && have_extended_data) |
214 | { | 214 | { |
215 | element["columns"][5]["column"] = "Mono Time"; | 215 | element["columns"][5]["column"] = "mono_time"; |
216 | element["columns"][5]["value"] = llformat("%0.3f", mono_score); | 216 | element["columns"][5]["value"] = llformat("%0.3f", mono_score); |
217 | element["columns"][5]["font"] = "SANSSERIF"; | 217 | element["columns"][5]["font"] = "SANSSERIF"; |
218 | } | 218 | } |
@@ -238,6 +238,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
238 | { | 238 | { |
239 | setTitle(getString("top_scripts_title")); | 239 | setTitle(getString("top_scripts_title")); |
240 | list->setColumnLabel("score", getString("scripts_score_label")); | 240 | list->setColumnLabel("score", getString("scripts_score_label")); |
241 | list->setColumnLabel("mono_time", getString("scripts_mono_time_label")); | ||
241 | 242 | ||
242 | LLUIString format = getString("top_scripts_text"); | 243 | LLUIString format = getString("top_scripts_text"); |
243 | format.setArg("[COUNT]", llformat("%d", total_count)); | 244 | format.setArg("[COUNT]", llformat("%d", total_count)); |
@@ -248,6 +249,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
248 | { | 249 | { |
249 | setTitle(getString("top_colliders_title")); | 250 | setTitle(getString("top_colliders_title")); |
250 | list->setColumnLabel("score", getString("colliders_score_label")); | 251 | list->setColumnLabel("score", getString("colliders_score_label")); |
252 | list->setColumnLabel("mono_time", ""); | ||
251 | LLUIString format = getString("top_colliders_text"); | 253 | LLUIString format = getString("top_colliders_text"); |
252 | format.setArg("[COUNT]", llformat("%d", total_count)); | 254 | format.setArg("[COUNT]", llformat("%d", total_count)); |
253 | childSetValue("title_text", LLSD(format)); | 255 | childSetValue("title_text", LLSD(format)); |