diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 0aec752..7a2cddf 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -81,6 +81,7 @@ | |||
81 | #include "llface.h" | 81 | #include "llface.h" |
82 | #include "llfirstuse.h" | 82 | #include "llfirstuse.h" |
83 | #include "llfloater.h" | 83 | #include "llfloater.h" |
84 | #include "floaterao.h" | ||
84 | #include "llfloaterabout.h" | 85 | #include "llfloaterabout.h" |
85 | #include "llfloaterbuycurrency.h" | 86 | #include "llfloaterbuycurrency.h" |
86 | #include "llfloateractivespeakers.h" | 87 | #include "llfloateractivespeakers.h" |
@@ -8596,6 +8597,16 @@ class LLAdvancedTogglePhantom: public view_listener_t | |||
8596 | 8597 | ||
8597 | }; | 8598 | }; |
8598 | 8599 | ||
8600 | |||
8601 | class LLAO : public view_listener_t | ||
8602 | { | ||
8603 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | ||
8604 | { | ||
8605 | LLFloaterAO::show(NULL); | ||
8606 | return true; | ||
8607 | } | ||
8608 | }; | ||
8609 | |||
8599 | class LLAdvancedCheckPhantom: public view_listener_t | 8610 | class LLAdvancedCheckPhantom: public view_listener_t |
8600 | { | 8611 | { |
8601 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 8612 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
@@ -10732,6 +10743,7 @@ void initialize_menus() | |||
10732 | addMenu(new LLViewCheckHighlightTransparent(), "View.CheckHighlightTransparent"); | 10743 | addMenu(new LLViewCheckHighlightTransparent(), "View.CheckHighlightTransparent"); |
10733 | addMenu(new LLViewCheckRenderType(), "View.CheckRenderType"); | 10744 | addMenu(new LLViewCheckRenderType(), "View.CheckRenderType"); |
10734 | addMenu(new LLViewCheckHUDAttachments(), "View.CheckHUDAttachments"); | 10745 | addMenu(new LLViewCheckHUDAttachments(), "View.CheckHUDAttachments"); |
10746 | addMenu(new LLAO(), "View.AO"); | ||
10735 | addMenu(new LLViewCheckAdvanced(), "View.CheckAdvanced"); | 10747 | addMenu(new LLViewCheckAdvanced(), "View.CheckAdvanced"); |
10736 | 10748 | ||
10737 | // World menu | 10749 | // World menu |