From 0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 24 Nov 2008 11:42:30 -0700 Subject: Beacons no longer persist between sessions. That distressed users who accidentally enabled them, since not even relogging would disable them. --- linden/indra/newview/app_settings/settings.xml | 4 ++-- linden/indra/newview/llviewerwindow.cpp | 2 +- linden/indra/newview/pipeline.cpp | 2 +- linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'linden') diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index 1d2da46..1f0f240 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml @@ -664,12 +664,12 @@ 0 - BeaconAlwaysOn + BeaconsEnabled Comment Beacons / highlighting always on Persist - 1 + 0 Type Boolean Value diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 64c042a..2e77316 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp @@ -470,7 +470,7 @@ public: ypos += y_inc; } // only display these messages if we are actually rendering beacons at this moment - if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconAlwaysOn")) + if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconsEnabled")) { if (LLPipeline::getRenderParticleBeacons(NULL)) { diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp index f232fdf..3523635 100644 --- a/linden/indra/newview/pipeline.cpp +++ b/linden/indra/newview/pipeline.cpp @@ -2101,7 +2101,7 @@ void LLPipeline::postSort(LLCamera& camera) } // only render if the flag is set. The flag is only set if we are in edit mode or the toggle is set in the menus - if (gSavedSettings.getBOOL("BeaconAlwaysOn")) + if (gSavedSettings.getBOOL("BeaconsEnabled")) { if (sRenderScriptedTouchBeacons) { diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 71044a0..a4f367c 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml @@ -360,9 +360,9 @@ - - - + + + -- cgit v1.1