diff options
| author | mobserveur <mobserveur@gmail.com> | 2024-08-06 14:26:10 +0200 | 
|---|---|---|
| committer | mobserveur <mobserveur@gmail.com> | 2024-08-06 14:26:10 +0200 | 
| commit | a68c5bae3173bfeda314f1d8278b80622496c11e (patch) | |
| tree | f520e122ef5e6175e1215d7efbd4b03869c5744e | |
| parent | 942d92bd73bb3db610da47b7634b57f10a6cd06f (diff) | |
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.
| -rw-r--r-- | indra/newview/fsfloatersearch.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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);          /// <FS:CR> 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) | 
