summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2024-09-13 16:48:30 -0400
committerGitHub <noreply@github.com>2024-09-13 16:48:30 -0400
commit82ac706b34cebb7ada7453487bca8c59f3f24b86 (patch)
tree0eb08e2b34806a8402ebbd65c20c3413d82054b7 /indra/newview/skins/default/xui/en
parent611ba19457da6dc1daf11b23cca973ad788b51ba (diff)
parentae2f4f6f6a05e1d6f327887204add2c984999db2 (diff)
Merge pull request #2571 from Ansariel/lua-consoles
Restore LUA debug consoles in viewer menu and tie visibility to feature flag
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 324e868bd5..f4864dabef 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -2583,6 +2583,37 @@ function="World.EnvPreset"
parameter="scene monitor" />
</menu_item_check>
<menu_item_separator/>
+ <menu_item_check
+ label="LUA Debug Console"
+ name="LUA Debug Console">
+ <menu_item_check.on_check
+ function="Floater.Visible"
+ parameter="lua_debug" />
+ <menu_item_check.on_click
+ function="Floater.Toggle"
+ parameter="lua_debug" />
+ <menu_item_check.on_visible
+ function="CheckControl"
+ parameter="LuaFeature" />
+ </menu_item_check>
+ <menu_item_check
+ label="LUA Scripts Info"
+ name="LUA Scripts">
+ <menu_item_check.on_check
+ function="Floater.Visible"
+ parameter="lua_scripts" />
+ <menu_item_check.on_click
+ function="Floater.Toggle"
+ parameter="lua_scripts" />
+ <menu_item_check.on_visible
+ function="CheckControl"
+ parameter="LuaFeature" />
+ </menu_item_check>
+ <menu_item_separator>
+ <menu_item_separator.on_visible
+ function="CheckControl"
+ parameter="LuaFeature"/>
+ </menu_item_separator>
<menu_item_call
label="Region Info to Debug Console"