diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index b641ce9..e270dbb 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -89,6 +89,7 @@ | |||
89 | #include "llfloateractivespeakers.h" | 89 | #include "llfloateractivespeakers.h" |
90 | #include "llfloateranimpreview.h" | 90 | #include "llfloateranimpreview.h" |
91 | #include "llfloateravatarinfo.h" | 91 | #include "llfloateravatarinfo.h" |
92 | #include "llfloateravatarlist.h" | ||
92 | #include "llfloateravatartextures.h" | 93 | #include "llfloateravatartextures.h" |
93 | #include "llfloaterbeacons.h" | 94 | #include "llfloaterbeacons.h" |
94 | #include "llfloaterbuildoptions.h" | 95 | #include "llfloaterbuildoptions.h" |
@@ -6147,6 +6148,10 @@ class LLShowFloater : public view_listener_t | |||
6147 | { | 6148 | { |
6148 | LLFloaterPerms::toggleInstance(LLSD()); | 6149 | LLFloaterPerms::toggleInstance(LLSD()); |
6149 | } | 6150 | } |
6151 | else if (floater_name == "full radar") | ||
6152 | { | ||
6153 | LLFloaterAvatarList::toggle(NULL); | ||
6154 | } | ||
6150 | return true; | 6155 | return true; |
6151 | } | 6156 | } |
6152 | }; | 6157 | }; |
@@ -6221,6 +6226,10 @@ class LLFloaterVisible : public view_listener_t | |||
6221 | if (!instn) new_value = false; | 6226 | if (!instn) new_value = false; |
6222 | else new_value = instn->getVisible(); | 6227 | else new_value = instn->getVisible(); |
6223 | } | 6228 | } |
6229 | else if (floater_name == "full radar") | ||
6230 | { | ||
6231 | new_value = (LLFloaterAvatarList::getInstance() != NULL); | ||
6232 | } | ||
6224 | gMenuHolder->findControl(control_name)->setValue(new_value); | 6233 | gMenuHolder->findControl(control_name)->setValue(new_value); |
6225 | return true; | 6234 | return true; |
6226 | } | 6235 | } |