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
Branches
Tags
No related merge requests found
......@@ -150,11 +150,17 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
sim_access_string.c_str());
break;
case LOCATION_FORMAT_NO_MATURITY:
case LOCATION_FORMAT_FULL:
buffer = llformat("%s (%d, %d, %d)",
region_name.c_str(),
pos_x, pos_y, pos_z);
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment