diff options
author | McCabe Maxsted | 2008-11-24 11:42:30 -0700 |
---|---|---|
committer | Jacek Antonelli | 2008-12-13 22:25:50 -0600 |
commit | 0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da (patch) | |
tree | c37a1fe2f0b3e6d8b3f01a77078d64b168398d31 | |
parent | Moved 'Offer Teleport' in IM to be on the left side. (diff) | |
download | meta-impy-0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da.zip meta-impy-0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da.tar.gz meta-impy-0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da.tar.bz2 meta-impy-0b1b08da1b7cf8f3dc43b295ec35d3f873e9a2da.tar.xz |
Beacons no longer persist between sessions.
That distressed users who accidentally enabled them,
since not even relogging would disable them.
-rw-r--r-- | ChangeLog.txt | 12 | ||||
-rw-r--r-- | linden/indra/newview/app_settings/settings.xml | 4 | ||||
-rw-r--r-- | linden/indra/newview/llviewerwindow.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/pipeline.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 6 |
5 files changed, 19 insertions, 7 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 5482255..2e0689d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,6 +1,18 @@ | |||
1 | 1 | ||
2 | 2008-11-23 McCabe Maxsted <hakushakukun@gmail.com> | 2 | 2008-11-23 McCabe Maxsted <hakushakukun@gmail.com> |
3 | 3 | ||
4 | * linden/indra/newview/app_settings/settings.xml: | ||
5 | Beacons no longer persist between sessions. | ||
6 | That distressed users who accidentally enabled them, | ||
7 | since not even relogging would disable them. | ||
8 | * linden/indra/newview/llviewerwindow.cpp: | ||
9 | Ditto. | ||
10 | * linden/indra/newview/pipeline.cpp: | ||
11 | Ditto. | ||
12 | * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml: | ||
13 | Ditto. | ||
14 | |||
15 | |||
4 | * linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml: | 16 | * linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml: |
5 | Moved 'Offer Teleport' in IM to be on the left side. | 17 | Moved 'Offer Teleport' in IM to be on the left side. |
6 | 18 | ||
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 @@ | |||
664 | <integer>0</integer> | 664 | <integer>0</integer> |
665 | </array> | 665 | </array> |
666 | </map> | 666 | </map> |
667 | <key>BeaconAlwaysOn</key> | 667 | <key>BeaconsEnabled</key> |
668 | <map> | 668 | <map> |
669 | <key>Comment</key> | 669 | <key>Comment</key> |
670 | <string>Beacons / highlighting always on</string> | 670 | <string>Beacons / highlighting always on</string> |
671 | <key>Persist</key> | 671 | <key>Persist</key> |
672 | <integer>1</integer> | 672 | <integer>0</integer> |
673 | <key>Type</key> | 673 | <key>Type</key> |
674 | <string>Boolean</string> | 674 | <string>Boolean</string> |
675 | <key>Value</key> | 675 | <key>Value</key> |
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: | |||
470 | ypos += y_inc; | 470 | ypos += y_inc; |
471 | } | 471 | } |
472 | // only display these messages if we are actually rendering beacons at this moment | 472 | // only display these messages if we are actually rendering beacons at this moment |
473 | if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconAlwaysOn")) | 473 | if (LLPipeline::getRenderBeacons(NULL) && gSavedSettings.getBOOL("BeaconsEnabled")) |
474 | { | 474 | { |
475 | if (LLPipeline::getRenderParticleBeacons(NULL)) | 475 | if (LLPipeline::getRenderParticleBeacons(NULL)) |
476 | { | 476 | { |
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) | |||
2101 | } | 2101 | } |
2102 | 2102 | ||
2103 | // 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 | 2103 | // 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 |
2104 | if (gSavedSettings.getBOOL("BeaconAlwaysOn")) | 2104 | if (gSavedSettings.getBOOL("BeaconsEnabled")) |
2105 | { | 2105 | { |
2106 | if (sRenderScriptedTouchBeacons) | 2106 | if (sRenderScriptedTouchBeacons) |
2107 | { | 2107 | { |
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 @@ | |||
360 | <on_click function="View.HighlightTransparent" userdata="" /> | 360 | <on_click function="View.HighlightTransparent" userdata="" /> |
361 | <on_check function="View.CheckHighlightTransparent" /> | 361 | <on_check function="View.CheckHighlightTransparent" /> |
362 | </menu_item_check> | 362 | </menu_item_check> |
363 | <menu_item_check name="Beacons Always On" label="Beacons Always On"> | 363 | <menu_item_check name="Beacons Always On" label="Show Beacons"> |
364 | <on_click function="ToggleControl" userdata="BeaconAlwaysOn" /> | 364 | <on_click function="ToggleControl" userdata="BeaconsEnabled" /> |
365 | <on_check control="BeaconAlwaysOn" /> | 365 | <on_check control="BeaconsEnabled" /> |
366 | </menu_item_check> | 366 | </menu_item_check> |
367 | <menu name="Beacons" create_jump_keys="true" label="Beacons" | 367 | <menu name="Beacons" create_jump_keys="true" label="Beacons" |
368 | opaque="true" tear_off="true"> | 368 | opaque="true" tear_off="true"> |