summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-03 22:25:05 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-03 22:25:46 +0300
commit0569eb776c7ec758ca8125b500fdd4c589c5ae50 (patch)
tree68a6243a030b264e71af145a09ac7ae68258a143
parentddaa0d84ccbd68eeacb81361360bfcdd5d3dfe4a (diff)
SL-16053 Landmark shouldn't be saved into location history
-rw-r--r--indra/newview/llnavigationbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp
index 19dbbeb60e..e7d4ff7cdb 100644
--- a/indra/newview/llnavigationbar.cpp
+++ b/indra/newview/llnavigationbar.cpp
@@ -451,9 +451,9 @@ void LLNavigationBar::onLocationSelection()
if(value.has("AssetUUID"))
{
-
gAgent.teleportViaLandmark( LLUUID(value["AssetUUID"].asString()));
- mSaveToLocationHistory = true;
+ // user teleported by manually inputting inventory landmark's name
+ mSaveToLocationHistory = false;
return;
}
else