aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMelanie2010-08-20 08:36:23 +0100
committerMelanie2010-08-20 08:36:23 +0100
commitae554a48d0cea61d05dc931c04f336d83de4834b (patch)
treeb5bf93da7bb9a115c36967ccce681c8f29215dd0 /OpenSim/Region/Application
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-ae554a48d0cea61d05dc931c04f336d83de4834b.zip
opensim-SC-ae554a48d0cea61d05dc931c04f336d83de4834b.tar.gz
opensim-SC-ae554a48d0cea61d05dc931c04f336d83de4834b.tar.bz2
opensim-SC-ae554a48d0cea61d05dc931c04f336d83de4834b.tar.xz
Add some maptile options, change maptile generation from OpenSimBase to Scene
to make it more configurable.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index eb18e83..b80d17d 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -347,14 +347,6 @@ namespace OpenSim
347 // Prims have to be loaded after module configuration since some modules may be invoked during the load 347 // Prims have to be loaded after module configuration since some modules may be invoked during the load
348 scene.LoadPrimsFromStorage(regionInfo.originRegionID); 348 scene.LoadPrimsFromStorage(regionInfo.originRegionID);
349 349
350 // moved these here as the map texture has to be created after the modules are initialized
351 // and has to happen before the region is registered with the grid.
352 IWorldMapModule mapModule = scene.RequestModuleInterface<IWorldMapModule>();
353 if (mapModule != null)
354 mapModule.GenerateMaptile();
355 else
356 m_log.WarnFormat("[STARTUP]: No map module available to generate map tile");
357
358 // TODO : Try setting resource for region xstats here on scene 350 // TODO : Try setting resource for region xstats here on scene
359 MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo)); 351 MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo));
360 352