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-enginemeow-7.2.2
parent
de7ca5abb2
commit
8fb7720948
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue