Feature Request: Create landmarks with the legacy style names: Parcel, Region (x, y, z)
This commit is contained in:
@@ -707,6 +707,17 @@
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>LiruLegacyLandmarks</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>When creating a new landmark, the legacy format (parcel name, region name (x, y, z)) will be used.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>LiruMapShowAvCount</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user