diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-09-18 13:58:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 13:58:20 -0400 |
commit | 4af7cd51e9cc22d9dc2fe42e378051c55515ac8e (patch) | |
tree | 14dc47b0eaa34a58fd771667c1b2609d4a2f2b39 /indra/newview/llappviewer.cpp | |
parent | ecd5aa227653d9b690a14c1d9c1dd90ea644fec5 (diff) | |
parent | f4b65638879c10c832b3bb8448f82001106ffd11 (diff) |
Merge pull request #2573 from secondlife/lua-profile-cmp
Add script to compare a Frame Profile JSON stats file vs. a baseline file.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 789aaab70d..77797ad5f0 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3351,10 +3351,10 @@ LLSD LLAppViewer::getViewerInfo() const LLVector3d pos = gAgent.getPositionGlobal(); info["POSITION"] = ll_sd_from_vector3d(pos); info["POSITION_LOCAL"] = ll_sd_from_vector3(gAgent.getPosAgentFromGlobal(pos)); - info["REGION"] = gAgent.getRegion()->getName(); + info["REGION"] = region->getName(); boost::regex regex("\\.(secondlife|lindenlab)\\..*"); - info["HOSTNAME"] = boost::regex_replace(gAgent.getRegion()->getSimHostName(), regex, ""); + info["HOSTNAME"] = boost::regex_replace(region->getSimHostName(), regex, ""); info["SERVER_VERSION"] = gLastVersionChannel; LLSLURL slurl; LLAgentUI::buildSLURL(slurl); |