aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-06-13 00:21:47 -0700
committerMcCabe Maxsted2009-06-13 00:21:47 -0700
commit622903e3c0b9db7bb7c38e0b35bda80919eb3345 (patch)
tree0392d06941ca299fc892040bded3ca7db0030965 /linden/indra/newview/llviewermenu.cpp
parentApplied patch by Robin Cornelius for VWR-12686: LLTextureCache::writeToCache(... (diff)
downloadmeta-impy-622903e3c0b9db7bb7c38e0b35bda80919eb3345.zip
meta-impy-622903e3c0b9db7bb7c38e0b35bda80919eb3345.tar.gz
meta-impy-622903e3c0b9db7bb7c38e0b35bda80919eb3345.tar.bz2
meta-impy-622903e3c0b9db7bb7c38e0b35bda80919eb3345.tar.xz
Applied Aimee's patch for VWR-6918: Hide/Show Selection Outlines
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 838f230..2940bdd 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -6625,6 +6625,17 @@ class LLToolsSelectBySurrounding : public view_listener_t
6625 } 6625 }
6626}; 6626};
6627 6627
6628class LLToolsShowSelectionHighlights : public view_listener_t
6629{
6630 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
6631 {
6632 LLSelectMgr::sRenderSelectionHighlights = !LLSelectMgr::sRenderSelectionHighlights;
6633
6634 gSavedSettings.setBOOL("RenderHighlightSelections", LLSelectMgr::sRenderSelectionHighlights);
6635 return true;
6636 }
6637};
6638
6628class LLToolsShowHiddenSelection : public view_listener_t 6639class LLToolsShowHiddenSelection : public view_listener_t
6629{ 6640{
6630 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) 6641 bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
@@ -9571,6 +9582,7 @@ void initialize_menus()
9571 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects"); 9582 addMenu(new LLToolsSelectOnlyMovableObjects(), "Tools.SelectOnlyMovableObjects");
9572 addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects"); 9583 addMenu(new LLToolsSelectOnlyCopyableObjects(), "Tools.SelectOnlyCopyableObjects");
9573 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding"); 9584 addMenu(new LLToolsSelectBySurrounding(), "Tools.SelectBySurrounding");
9585 addMenu(new LLToolsShowSelectionHighlights(), "Tools.ShowSelectionHighlights");
9574 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection"); 9586 addMenu(new LLToolsShowHiddenSelection(), "Tools.ShowHiddenSelection");
9575 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius"); 9587 addMenu(new LLToolsShowSelectionLightRadius(), "Tools.ShowSelectionLightRadius");
9576 addMenu(new LLToolsEditLinkedParts(), "Tools.EditLinkedParts"); 9588 addMenu(new LLToolsEditLinkedParts(), "Tools.EditLinkedParts");