Feature Request: Create landmarks with the legacy style names: Parcel, Region (x, y, z)

This commit is contained in:
Lirusaito
2013-07-25 08:06:49 -04:00
parent b1004f9f53
commit 389cf5399e
2 changed files with 12 additions and 1 deletions

View File

@@ -6058,7 +6058,7 @@ class LLWorldCreateLandmark : public view_listener_t
LLUUID folder_id;
folder_id = gInventory.findCategoryUUIDForType(LLFolderType::FT_LANDMARK);
std::string pos_string;
LLAgentUI::buildLocationString(pos_string);
LLAgentUI::buildLocationString(pos_string, gSavedSettings.getBOOL("LiruLegacyLandmarks") ? LLAgentUI::LOCATION_FORMAT_NO_MATURITY : LLAgentUI::LOCATION_FORMAT_LANDMARK);
create_inventory_item(gAgent.getID(), gAgent.getSessionID(),
folder_id, LLTransactionID::tnull,