diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 2a8634b00..a5b61469e 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -707,6 +707,17 @@ Value 1 + LiruLegacyLandmarks + + Comment + When creating a new landmark, the legacy format (parcel name, region name (x, y, z)) will be used. + Persist + 1 + Type + Boolean + Value + 1 + LiruMapShowAvCount Comment diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 21d4226a6..1a46c2caa 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -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,