From 3bbd35d97512fee9558acf2d6d5e0ca17641ac51 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 21 Nov 2023 21:21:07 -0500 Subject: [PATCH] Fix the find on map thing not centering --- indra/newview/llfloaterworldmap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 30fcd9f3a79..18085842080 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -191,7 +191,7 @@ class LLMapTrackAvatarHandler : public LLCommandHandler //Get the ID LLUUID id; - if (!id.set( params[0].asStringRef(), FALSE )) + if (!id.set( params[0].asString(), FALSE)) { return false; } @@ -299,6 +299,7 @@ void* LLFloaterWorldMap::createWorldMapView(void* data) BOOL LLFloaterWorldMap::postBuild() { mMapView = dynamic_cast<LLWorldMapView*>(getChild<LLPanel>("objects_mapview")); + mMapView->setPan(0, 0, true); mTeleportButton = getChild<LLButton>("Teleport"); mShowDestinationButton = getChild<LLButton>("Show Destination"); -- GitLab