From a68c5bae3173bfeda314f1d8278b80622496c11e Mon Sep 17 00:00:00 2001 From: mobserveur Date: Tue, 6 Aug 2024 14:26:10 +0200 Subject: Attempt to fix the teleport issue from legacy search This commit attempts to fix an a crash occuring when using the teleport button in the legacy search floater. --- indra/newview/fsfloatersearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/fsfloatersearch.cpp b/indra/newview/fsfloatersearch.cpp index f05e996699..ef5f70d34f 100644 --- a/indra/newview/fsfloatersearch.cpp +++ b/indra/newview/fsfloatersearch.cpp @@ -760,7 +760,7 @@ void FSFloaterSearch::onBtnTeleport() { if (!mParcelGlobal.isExactlyZero()) { - gAgent.teleportViaLocation(mParcelGlobal); + gAgent.teleportViaLocationLookAt(mParcelGlobal); LLFloaterWorldMap::getInstance()->trackLocation(mParcelGlobal); /// What should we do when when we teleport? The default (1) is to close the floater, /// the user may elect to minimize the floater (2), or to do nothing (any other setting) -- cgit v1.2.3