From cabda866150d063cf8f2085ac0a1b580c573aa53 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 29 Jul 2009 16:32:56 +0000 Subject: [PATCH] Patch from Kai Ludwig: Fix prim drawing on maptile. --- OpenSim/Region/Application/OpenSimBase.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 412c6c340b..e28bc9afef 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -383,13 +383,13 @@ namespace OpenSim scene.SetModuleInterfaces(); + // Prims have to be loaded after module configuration since some modules may be invoked during the load + scene.LoadPrimsFromStorage(regionInfo.originRegionID); + // moved these here as the terrain texture has to be created after the modules are initialized // and has to happen before the region is registered with the grid. scene.CreateTerrainTexture(false); - // Prims have to be loaded after module configuration since some modules may be invoked during the load - scene.LoadPrimsFromStorage(regionInfo.originRegionID); - // TODO : Try setting resource for region xstats here on scene MainServer.Instance.AddStreamHandler(new Region.Framework.Scenes.RegionStatsHandler(regionInfo));