diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 9859710..3bf390e 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -6718,6 +6718,18 @@ class LLToolsSelectOnlyMovableObjects : public view_listener_t | |||
6718 | } | 6718 | } |
6719 | }; | 6719 | }; |
6720 | 6720 | ||
6721 | class 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 | |||
6721 | class LLToolsSelectBySurrounding : public view_listener_t | 6733 | class LLToolsSelectBySurrounding : public view_listener_t |
6722 | { | 6734 | { |
6723 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 6735 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
@@ -9833,6 +9845,7 @@ void initialize_menus() | |||
9833 | addMenu(new LLToolsSelectTool(), "Tools.SelectTool"); | 9845 | addMenu(new LLToolsSelectTool(), "Tools.SelectTool"); |
9834 | addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); | 9846 | addMenu(new LLToolsSelectOnlyMyObjects(), "Tools.SelectOnlyMyObjects"); |
9835 | addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); | 9847 | addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); |
9848 | addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects"); | ||
9836 | addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); | 9849 | addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); |
9837 | addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); | 9850 | addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); |
9838 | addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); | 9851 | addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); |