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.
parent
1f04e1bc23
commit
185e7048c8
|
@ -164,7 +164,13 @@ namespace OpenSim.Services.GridService
|
||||||
|
|
||||||
configVal = loginConfig.GetString("MapTileURL", string.Empty);
|
configVal = loginConfig.GetString("MapTileURL", string.Empty);
|
||||||
if (!string.IsNullOrEmpty(configVal))
|
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;
|
m_ExtraFeatures["map-server-url"] = configVal;
|
||||||
|
}
|
||||||
|
|
||||||
configVal = loginConfig.GetString("DestinationGuide", string.Empty);
|
configVal = loginConfig.GetString("DestinationGuide", string.Empty);
|
||||||
if (!string.IsNullOrEmpty(configVal))
|
if (!string.IsNullOrEmpty(configVal))
|
||||||
|
|
Loading…
Reference in New Issue