Confirm to new OpenSimExtras specification of SimulatorFeatures cap

See: http://opensimulator.org/wiki/SimulatorFeatures_Extras
* Moved SupportsExport inside this map to avoid possible
  collision with Linden Lab
* Added the ability for a sim to specify map server
  (Fixes maps after hypergrid jumps)
This commit is contained in:
Latif Khalifa
2013-07-31 04:24:13 +02:00
parent 8cb7c2cb2f
commit b4bc9727f1
4 changed files with 15 additions and 3 deletions

View File

@@ -49,6 +49,7 @@
#include "llregionflags.h"
#include "llworldmapmessage.h"
#include "hippogridmanager.h"
#include "lfsimfeaturehandler.h"
bool LLWorldMap::sGotMapURL = false;
// Timers to temporise database requests
@@ -512,7 +513,7 @@ bool LLWorldMap::useWebMapTiles()
{
static const LLCachedControl<bool> use_web_map_tiles("UseWebMapTiles",false);
return use_web_map_tiles &&
(( gHippoGridManager->getConnectedGrid()->isSecondLife() || sGotMapURL));
(( gHippoGridManager->getConnectedGrid()->isSecondLife() || sGotMapURL || !LFSimFeatureHandler::instance().mapServerURL().empty()));
}
void LLWorldMap::reloadItems(bool force)