aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-20 08:46:46 +0200
committerMelanie Thielker2010-08-20 08:46:46 +0200
commit47838e5fb39596effd4d0f7e1021ab68e69cd9d8 (patch)
tree5c686091b63c49961f353c408d30c1a333aad071 /OpenSim/Region/Application
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-47838e5fb39596effd4d0f7e1021ab68e69cd9d8.zip
opensim-SC_OLD-47838e5fb39596effd4d0f7e1021ab68e69cd9d8.tar.gz
opensim-SC_OLD-47838e5fb39596effd4d0f7e1021ab68e69cd9d8.tar.bz2
opensim-SC_OLD-47838e5fb39596effd4d0f7e1021ab68e69cd9d8.tar.xz
Add some maptile options, change maptile generation from OpenSimBase to Scene
to make it more configurable.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index c08da18..4ef0b1b 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -390,19 +390,6 @@ namespace OpenSim
390 // Prims have to be loaded after module configuration since some modules may be invoked during the load 390 // Prims have to be loaded after module configuration since some modules may be invoked during the load
391 scene.LoadPrimsFromStorage(regionInfo.originRegionID); 391 scene.LoadPrimsFromStorage(regionInfo.originRegionID);
392 392
393 if (scene.SnmpService != null)
394 {
395 scene.SnmpService.BootInfo("Creating region texture", scene);
396 }
397
398 // moved these here as the map texture has to be created after the modules are initialized
399 // and has to happen before the region is registered with the grid.
400 IWorldMapModule mapModule = scene.RequestModuleInterface<IWorldMapModule>();
401 if (mapModule != null)
402 mapModule.GenerateMaptile();
403 else
404 m_log.WarnFormat("[STARTUP]: No map module available to generate map tile");
405
406 // TODO : Try setting resource for region xstats here on scene 393 // TODO : Try setting resource for region xstats here on scene
407 MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo)); 394 MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo));
408 395