Some people don't use Simian. Make the connector respect that it's disabled

and not try to send a map tile in that case.
soprefactor
Melanie 2010-06-12 00:32:54 +01:00
parent b5bc2816fc
commit ed38b4a140
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
#region ISharedRegionModule
public Type ReplaceableInterface { get { return null; } }
public void RegionLoaded(Scene scene) { UploadMapTile(scene); }
public void RegionLoaded(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { UploadMapTile(scene); } }
public void PostInitialise() { }
public void Close() { }