diff options
Diffstat (limited to 'linden/indra/newview/panelradar.cpp')
-rw-r--r-- | linden/indra/newview/panelradar.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/linden/indra/newview/panelradar.cpp b/linden/indra/newview/panelradar.cpp index c5fc3db..b323a77 100644 --- a/linden/indra/newview/panelradar.cpp +++ b/linden/indra/newview/panelradar.cpp | |||
@@ -47,6 +47,7 @@ | |||
47 | #include "llscrolllistctrl.h" | 47 | #include "llscrolllistctrl.h" |
48 | #include "lltracker.h" | 48 | #include "lltracker.h" |
49 | #include "lluictrlfactory.h" | 49 | #include "lluictrlfactory.h" |
50 | #include "llviewercontrol.h" | ||
50 | #include "llviewerobjectlist.h" | 51 | #include "llviewerobjectlist.h" |
51 | #include "llviewermenu.h" | 52 | #include "llviewermenu.h" |
52 | #include "llviewermessage.h" | 53 | #include "llviewermessage.h" |
@@ -291,12 +292,12 @@ void PanelRadar::updateRadarDisplay() | |||
291 | element["id"] = entry->getID(); | 292 | element["id"] = entry->getID(); |
292 | element["columns"][0]["column"] = "avatar_name"; | 293 | element["columns"][0]["column"] = "avatar_name"; |
293 | element["columns"][0]["type"] = "text"; | 294 | element["columns"][0]["type"] = "text"; |
295 | // element["columns"][0]["value"] = typing + entry->getName() + " " + mute_text; | ||
294 | // [RLVa:KB] - Alternate: Imprudence-1.2.0 | 296 | // [RLVa:KB] - Alternate: Imprudence-1.2.0 |
295 | //element["columns"][0]["value"] = typing + entry->getName() + " " + mute_text; | 297 | element["columns"][0]["value"] = |
296 | std::string fullname = (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) ? | 298 | (gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) |
297 | gRlvHandler.getAnonym(fullname) : | 299 | ? gRlvHandler.getAnonym(entry->getName()) |
298 | typing + entry->getName() + " " + mute_text; | 300 | : typing + entry->getName() + " " + mute_text; |
299 | element["columns"][0]["value"] = fullname; | ||
300 | // [/RLVa:KB] | 301 | // [/RLVa:KB] |
301 | element["columns"][1]["column"] = "avatar_distance"; | 302 | element["columns"][1]["column"] = "avatar_distance"; |
302 | element["columns"][1]["type"] = "text"; | 303 | element["columns"][1]["type"] = "text"; |