Skip to content
Snippets Groups Projects
Commit 8fb77209 authored by Dmitry Zaporozhan's avatar Dmitry Zaporozhan
Browse files

Fixed normal bug EXT-5207 - Region Maturity level not displayed on nav bar...

Fixed normal bug EXT-5207 - Region Maturity level not displayed on nav bar when coordinates are enabled and parcel got no name.
Added maturity rating to full location string in case parcel name is empty.

--HG--
branch : product-engine
parent de7ca5ab
No related branches found
No related tags found
No related merge requests found
...@@ -150,11 +150,17 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const ...@@ -150,11 +150,17 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
sim_access_string.c_str()); sim_access_string.c_str());
break; break;
case LOCATION_FORMAT_NO_MATURITY: case LOCATION_FORMAT_NO_MATURITY:
case LOCATION_FORMAT_FULL:
buffer = llformat("%s (%d, %d, %d)", buffer = llformat("%s (%d, %d, %d)",
region_name.c_str(), region_name.c_str(),
pos_x, pos_y, pos_z); pos_x, pos_y, pos_z);
break; break;
case LOCATION_FORMAT_FULL:
buffer = llformat("%s (%d, %d, %d)%s%s",
region_name.c_str(),
pos_x, pos_y, pos_z,
sim_access_string.empty() ? "" : " - ",
sim_access_string.c_str());
break;
} }
} }
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment