On the GridService, the central simulator features: ensure that the map tile url ends with '/' because the viewer is dumb and just appends to it.

0.8.1-post-fixes
Diva Canto 2015-01-22 10:45:07 -08:00
parent 1f04e1bc23
commit 185e7048c8
1 changed files with 7 additions and 1 deletions

View File

@ -164,7 +164,13 @@ namespace OpenSim.Services.GridService
configVal = loginConfig.GetString("MapTileURL", string.Empty);
if (!string.IsNullOrEmpty(configVal))
{
// This URL must end with '/', the viewer doesn't check
configVal = configVal.Trim();
if (!configVal.EndsWith("/"))
configVal = configVal + "/";
m_ExtraFeatures["map-server-url"] = configVal;
}
configVal = loginConfig.GetString("DestinationGuide", string.Empty);
if (!string.IsNullOrEmpty(configVal))