aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorunknown2008-12-19 00:17:06 -0700
committerunknown2008-12-19 00:17:06 -0700
commite9d5b0c2063e017fb4d4e3b0a106c08a9dbdc554 (patch)
treef4ae195b239b9ae3ed8ca53c2dc6f20a24ff7dc7 /linden/indra/newview/llviewermenu.cpp
parentfuckyougit (diff)
parent1.1 wip copy (diff)
downloadmeta-impy-e9d5b0c2063e017fb4d4e3b0a106c08a9dbdc554.zip
meta-impy-e9d5b0c2063e017fb4d4e3b0a106c08a9dbdc554.tar.gz
meta-impy-e9d5b0c2063e017fb4d4e3b0a106c08a9dbdc554.tar.bz2
meta-impy-e9d5b0c2063e017fb4d4e3b0a106c08a9dbdc554.tar.xz
resolved merge conflicts
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 5e67712..3bf390e 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -5305,6 +5305,10 @@ class LLShowFloater : public view_listener_t
5305 { 5305 {
5306 LLFloaterActiveSpeakers::toggleInstance(LLSD()); 5306 LLFloaterActiveSpeakers::toggleInstance(LLSD());
5307 } 5307 }
5308 else if (floater_name == "inworld browser")
5309 {
5310 LLFloaterMediaBrowser::show();
5311 }
5308 return true; 5312 return true;
5309 } 5313 }
5310}; 5314};
@@ -6714,6 +6718,18 @@ class LLToolsSelectOnlyMovableObjects : public view_listener_t
6714 } 6718 }
6715}; 6719};
6716 6720
6721class LLToolsSelectOnlyCopyableObjects : public view_listener_t
6722{
6723 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
6724 {
6725 BOOL cur_val = gSavedSettings.getBOOL("SelectCopyableOnly");
6726
6727 gSavedSettings.setBOOL("SelectCopyableOnly", ! cur_val );
6728
6729 return true;
6730 }
6731};
6732
6717class LLToolsSelectBySurrounding : public view_listener_t 6733class LLToolsSelectBySurrounding : public view_listener_t
6718{ 6734{
6719 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6735 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -9829,6 +9845,7 @@ void initialize_menus()
9829 addMenu(new LLToolsSelectTool(), "Tools.SelectTool"); 9845 addMenu(new LLToolsSelectTool(), "Tools.SelectTool");
9830 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); 9846 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects");
9831 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); 9847 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects");
9848 addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects");
9832 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); 9849 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding");
9833 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); 9850 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection");
9834 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); 9851 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius");