Skip to content
Snippets Groups Projects
Commit 2857dd02 authored by Andrew Dyukov's avatar Andrew Dyukov
Browse files

Implemented normal task EXT-1937 (Please update landmarks and locations to the...

Implemented normal task EXT-1937 (Please update landmarks and locations to the latest decided format).

--HG--
branch : product-engine
parent ebbca647
No related branches found
No related tags found
No related merge requests found
...@@ -159,19 +159,19 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const ...@@ -159,19 +159,19 @@ BOOL LLAgentUI::buildLocationString(std::string& str, ELocationFormat fmt,const
buffer = llformat("%.100s", parcel_name.c_str()); buffer = llformat("%.100s", parcel_name.c_str());
break; break;
case LOCATION_FORMAT_NORMAL: case LOCATION_FORMAT_NORMAL:
buffer = llformat("%s, %s", region_name.c_str(), parcel_name.c_str()); buffer = llformat("%s, %s", parcel_name.c_str(), region_name.c_str());
break; break;
case LOCATION_FORMAT_WITHOUT_SIM: case LOCATION_FORMAT_WITHOUT_SIM:
buffer = llformat("%s, %s (%d, %d, %d)", buffer = llformat("%s, %s (%d, %d, %d)",
region_name.c_str(),
parcel_name.c_str(), parcel_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: case LOCATION_FORMAT_FULL:
std::string sim_access_string = region->getSimAccessString(); std::string sim_access_string = region->getSimAccessString();
buffer = llformat("%s, %s (%d, %d, %d)%s%s", buffer = llformat("%s, %s (%d, %d, %d)%s%s",
region_name.c_str(),
parcel_name.c_str(), parcel_name.c_str(),
region_name.c_str(),
pos_x, pos_y, pos_z, pos_x, pos_y, pos_z,
sim_access_string.empty() ? "" : " - ", sim_access_string.empty() ? "" : " - ",
sim_access_string.c_str()); sim_access_string.c_str());
......
...@@ -480,7 +480,7 @@ void LLNavigationBar::rebuildTeleportHistoryMenu() ...@@ -480,7 +480,7 @@ void LLNavigationBar::rebuildTeleportHistoryMenu()
type = LLTeleportHistoryMenuItem::TYPE_CURRENT; type = LLTeleportHistoryMenuItem::TYPE_CURRENT;
LLTeleportHistoryMenuItem::Params item_params; LLTeleportHistoryMenuItem::Params item_params;
item_params.label = item_params.name = hist_items[i].getTitle(); item_params.label = item_params.name = hist_items[i].mTitle;
item_params.item_type = type; item_params.item_type = type;
item_params.on_click.function(boost::bind(&LLNavigationBar::onTeleportHistoryMenuItemClicked, this, i)); item_params.on_click.function(boost::bind(&LLNavigationBar::onTeleportHistoryMenuItemClicked, this, i));
LLTeleportHistoryMenuItem* new_itemp = LLUICtrlFactory::create<LLTeleportHistoryMenuItem>(item_params); LLTeleportHistoryMenuItem* new_itemp = LLUICtrlFactory::create<LLTeleportHistoryMenuItem>(item_params);
......
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