diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2018-12-10 17:35:29 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2018-12-10 17:35:29 +0200 |
commit | ca336f26db4446b016ab89654bf75f7651294533 (patch) | |
tree | 55a447b277575a8c673d75041497b99aaa92c151 /indra/newview/llviewermenu.cpp | |
parent | cf7658ca3b7731e83ebf424b9c4b7a4c36ce328f (diff) |
SL-9698 [EEP] Add beacons that point to sun & moon position
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 00189f0b11..6e500f7962 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -8258,6 +8258,14 @@ class LLViewToggleBeacon : public view_listener_t gSavedSettings.setBOOL( "scriptsbeacon", LLPipeline::getRenderScriptedBeacons() ); } } + else if (beacon == "sunbeacon") + { + gSavedSettings.setBOOL("sunbeacon", !gSavedSettings.getBOOL("sunbeacon")); + } + else if (beacon == "moonbeacon") + { + gSavedSettings.setBOOL("moonbeacon", !gSavedSettings.getBOOL("moonbeacon")); + } else if (beacon == "renderbeacons") { LLPipeline::toggleRenderBeacons(); |