diff options
author | McCabe Maxsted | 2009-10-04 14:25:33 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-10-04 14:25:33 -0700 |
commit | 2c7ec0675ebfa21c548fd7eba4e13b01a7171be3 (patch) | |
tree | e71527729ce9a92033f84efe79f137b6cca8110b /linden/indra/newview/llfloatermap.cpp | |
parent | Mini-map radar now notifies when someone enters chat range, and how far away ... (diff) | |
download | meta-impy-2c7ec0675ebfa21c548fd7eba4e13b01a7171be3.zip meta-impy-2c7ec0675ebfa21c548fd7eba4e13b01a7171be3.tar.gz meta-impy-2c7ec0675ebfa21c548fd7eba4e13b01a7171be3.tar.bz2 meta-impy-2c7ec0675ebfa21c548fd7eba4e13b01a7171be3.tar.xz |
Clear list of avs in chat range when setting disabled
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatermap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloatermap.cpp b/linden/indra/newview/llfloatermap.cpp index 9992d9c..4e3ffa3 100644 --- a/linden/indra/newview/llfloatermap.cpp +++ b/linden/indra/newview/llfloatermap.cpp | |||
@@ -292,6 +292,10 @@ void LLFloaterMap::populateRadar() | |||
292 | 292 | ||
293 | updateChatList(avatar_ids); | 293 | updateChatList(avatar_ids); |
294 | } | 294 | } |
295 | else if (!mChatAvatars.empty()) | ||
296 | { | ||
297 | mChatAvatars.clear(); | ||
298 | } | ||
295 | 299 | ||
296 | std::string mute_text = LLMuteList::getInstance()->isMuted(avatar_ids[i]) ? getString("muted") : ""; | 300 | std::string mute_text = LLMuteList::getInstance()->isMuted(avatar_ids[i]) ? getString("muted") : ""; |
297 | element["id"] = avatar_ids[i]; | 301 | element["id"] = avatar_ids[i]; |