diff options
| author | Rider Linden <rider@lindenlab.com> | 2018-12-12 14:07:56 -0800 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2018-12-12 14:07:56 -0800 |
| commit | 9475a593a170f0c90a8d353de3e1277f844ee913 (patch) | |
| tree | 1d32cc3383b13fc51e2f6b7f03d50b7e0f63aa1b /indra/newview/llviewerwindow.cpp | |
| parent | 70ac8d9fa7049891ed1b65f68f112127dfb5f5f7 (diff) | |
| parent | 1cc8286c2097fb0896d40df6fe8ef311fa4c92ef (diff) | |
Merge
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
| -rw-r--r-- | indra/newview/llviewerwindow.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 26678775fb..9be2e905a2 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -357,6 +357,8 @@ public: static const std::string beacon_scripted_touch = LLTrans::getString("BeaconScriptedTouch"); static const std::string beacon_sound = LLTrans::getString("BeaconSound"); static const std::string beacon_media = LLTrans::getString("BeaconMedia"); + static const std::string beacon_sun = LLTrans::getString("BeaconSun"); + static const std::string beacon_moon = LLTrans::getString("BeaconMoon"); static const std::string particle_hiding = LLTrans::getString("ParticleHiding"); // Draw the statistics in a light gray @@ -791,6 +793,20 @@ public: } } + static LLUICachedControl<bool> show_sun_beacon("sunbeacon", false); + static LLUICachedControl<bool> show_moon_beacon("moonbeacon", false); + + if (show_sun_beacon) + { + addText(xpos, ypos, beacon_sun); + ypos += y_inc; + } + if (show_moon_beacon) + { + addText(xpos, ypos, beacon_moon); + ypos += y_inc; + } + if(log_texture_traffic) { U32 old_y = ypos ; |
