diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-10-07 09:42:36 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-10-07 09:42:36 -0400 |
commit | b8697234e095b3a8de579a3259dd99d00b1a36b4 (patch) | |
tree | 20e61e0d03b69e773091a0725a50deece54fc49e /indra/newview/skins/default/xui/zh/panel_snapshot_inventory.xml | |
parent | 01a59bab1a4b7c4645271a21cfaadc3735b6029c (diff) |
DRTVWR-589: Solved the bug in traversing nested Lua tables.
When lua_tollsd() makes a recursive call, it passes -1 as the index of the
newly-encountered nested table. To traverse the nested table, lua_tollsd()
starts by pushing nil as the initial key. But then calling lua_next(-1) finds
nil -- NOT the nested table!
Converting the index parameter to absolute before pushing nil solves.
Diffstat (limited to 'indra/newview/skins/default/xui/zh/panel_snapshot_inventory.xml')
0 files changed, 0 insertions, 0 deletions