aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 5e67712..c794b6a 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -6714,6 +6714,18 @@ class LLToolsSelectOnlyMovableObjects : public view_listener_t
6714 } 6714 }
6715}; 6715};
6716 6716
6717class LLToolsSelectOnlyCopyableObjects : public view_listener_t
6718{
6719 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
6720 {
6721 BOOL cur_val = gSavedSettings.getBOOL("SelectCopyableOnly");
6722
6723 gSavedSettings.setBOOL("SelectCopyableOnly", ! cur_val );
6724
6725 return true;
6726 }
6727};
6728
6717class LLToolsSelectBySurrounding : public view_listener_t 6729class LLToolsSelectBySurrounding : public view_listener_t
6718{ 6730{
6719 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6731 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -9829,6 +9841,7 @@ void initialize_menus()
9829 addMenu(new LLToolsSelectTool(), "Tools.SelectTool"); 9841 addMenu(new LLToolsSelectTool(), "Tools.SelectTool");
9830 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); 9842 addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects");
9831 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); 9843 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects");
9844 addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects");
9832 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); 9845 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding");
9833 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); 9846 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection");
9834 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); 9847 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius");