Skip to content
Snippets Groups Projects
Commit 3bbd35d9 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix the find on map thing not centering

parent 9bd064da
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment