summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-12 17:22:18 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-12 17:22:18 -0400
commit6f50aa0e87804ceebce93e29dba4ce073c70cb62 (patch)
tree3f02d18ed33ee2f9c4ab95655b7d2860613d698e /indra/llaudio
parent2ad31a8316c56edfcd78ce494edfcd98209a2cfa (diff)
Provide LUA Debug Console feedback for user typing LUA string.
When the user explicitly types 'return expression[, expression]...' we convert the result of the expressions to LLSD and format them into the LUA Debug Console, which serves as a useful acknowledgment. But until now, if the user neither invoked print() nor ran a 'return' statement, the LUA Debug Console output remained empty. This could be a little disconcerting: you click Execute, or press Enter, and apparently nothing happens. You must either monitor viewer log output, or simply trust that the Lua snippet ran. When there are no 'return' results, at least emit 'ok'. But when the user is entering a series of no-output commands, vary the 'ok' output by appending a counter: 'ok 1', 'ok 2' etc.
Diffstat (limited to 'indra/llaudio')
0 files changed, 0 insertions, 0 deletions