summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-15 02:23:38 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-04-17 13:33:49 +0300
commiteaccee37f2875c4d2378cf0ce562f382b88487d7 (patch)
tree6aa01150bada134272c66b6c4e2361b273437e4f /indra/newview/skins
parentebbc09551adbf9f03681740987a488a61593acc6 (diff)
SL-19549 Add option to show ban lines on collision
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml32
1 files changed, 27 insertions, 5 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 58584345a9..64167a9a5d 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -794,14 +794,36 @@
name="LandShow"
tear_off="true">
<menu_item_check
- label="Ban Lines"
- name="Ban Lines">
+ label="Hide Ban Lines"
+ name="Hide Ban Lines">
<menu_item_check.on_check
- control="ShowBanLines" />
+ function="World.CheckBanLines"
+ parameter="0" />
<menu_item_check.on_click
- function="ToggleControl"
- parameter="ShowBanLines" />
+ function="World.ShowBanLines"
+ parameter="0" />
+ </menu_item_check>
+ <menu_item_check
+ label="Show Ban Lines On Collision"
+ name="Show Ban Lines On Collision">
+ <menu_item_check.on_check
+ function="World.CheckBanLines"
+ parameter="1" />
+ <menu_item_check.on_click
+ function="World.ShowBanLines"
+ parameter="1" />
+ </menu_item_check>
+ <menu_item_check
+ label="Show Ban Lines On Proximity"
+ name="Show Ban Lines On Proximity">
+ <menu_item_check.on_check
+ function="World.CheckBanLines"
+ parameter="2" />
+ <menu_item_check.on_click
+ function="World.ShowBanLines"
+ parameter="2" />
</menu_item_check>
+ <menu_item_separator />
<menu_item_check
label="Beacons"
name="beacons"