Skip to content
Snippets Groups Projects
Commit a3ca39a4 authored by Lynx Linden's avatar Lynx Linden
Browse files

EXT-4462: Support secondlife:///app/worldmap

Without any location arguments, simply opens the world map floater.
parent 4d3421fe
No related branches found
No related tags found
No related merge requests found
......@@ -116,9 +116,12 @@ class LLWorldMapHandler : public LLCommandHandler
{
if (params.size() == 0)
{
return false;
// support the secondlife:///app/worldmap SLapp
LLFloaterReg::showInstance("world_map", "center");
return true;
}
// support the secondlife:///app/worldmap/{LOCATION}/{COORDS} SLapp
const std::string region_name = params[0].asString();
S32 x = (params.size() > 1) ? params[1].asInteger() : 128;
S32 y = (params.size() > 2) ? params[2].asInteger() : 128;
......
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