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:
@@ -54,7 +54,11 @@ void LFSimFeatureHandler::setSupportedFeatures()
|
||||
region->getSimulatorFeatures(info);
|
||||
//if (!gHippoGridManager->getCurrentGrid()->isSecondLife()) // Non-SL specific sim features
|
||||
{
|
||||
mSupportsExport = info.has("ExportSupported");
|
||||
// For definition of OpenSimExtras please see
|
||||
// http://opensimulator.org/wiki/SimulatorFeatures_Extras
|
||||
mSupportsExport = info["OpenSimExtras"]["ExportSupported"].asBoolean();
|
||||
mMapServerURL = info["OpenSimExtras"]["map-server-url"].asString();
|
||||
mSearchURL = info["OpenSimExtras"]["search-server-url"].asString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user