diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-09-13 16:48:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 16:48:30 -0400 |
commit | 82ac706b34cebb7ada7453487bca8c59f3f24b86 (patch) | |
tree | 0eb08e2b34806a8402ebbd65c20c3413d82054b7 /indra/newview/skins/default/xui/en | |
parent | 611ba19457da6dc1daf11b23cca973ad788b51ba (diff) | |
parent | ae2f4f6f6a05e1d6f327887204add2c984999db2 (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.xml | 31 |
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" |