Feature Request: Add debug setting for showing Position Before Parcel in the Status Bar
Adds StatusBarPositionBeforeParcel Enables builders on parcels with keywords in their names to see their position.
This commit is contained in:
@@ -172,12 +172,25 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
|
||||
sim_access_string.c_str());
|
||||
break;
|
||||
case LOCATION_FORMAT_FULL:
|
||||
static LLCachedControl<bool> position_before_parcel("StatusBarPositionBeforeParcel");
|
||||
if (!position_before_parcel)
|
||||
{
|
||||
buffer = llformat("%s, %s (%d, %d, %d)%s%s",
|
||||
parcel_name.c_str(),
|
||||
region_name.c_str(),
|
||||
pos_x, pos_y, pos_z,
|
||||
sim_access_string.empty() ? "" : " - ",
|
||||
sim_access_string.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
buffer = llformat("%s (%d, %d, %d) - %s%s%s",
|
||||
region_name.c_str(),
|
||||
pos_x, pos_y, pos_z,
|
||||
parcel_name.c_str(),
|
||||
sim_access_string.empty() ? "" : " - ",
|
||||
sim_access_string.c_str());
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user