diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index afaf988..e77aa6b 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -506,6 +506,11 @@ namespace OpenSim | |||
506 | m_moduleLoader.InitialiseSharedModules(scene); | 506 | m_moduleLoader.InitialiseSharedModules(scene); |
507 | scene.SetModuleInterfaces(); | 507 | scene.SetModuleInterfaces(); |
508 | 508 | ||
509 | //moved these here as the terrain texture has to be created after the modules are initialized | ||
510 | // and has to happen before the region is registered with the grid. | ||
511 | scene.CreateTerrainTexture(true); | ||
512 | scene.RegisterRegionWithGrid(); | ||
513 | |||
509 | //Server side object editing permissions checking | 514 | //Server side object editing permissions checking |
510 | scene.PermissionsMngr.BypassPermissions = !m_permissions; | 515 | scene.PermissionsMngr.BypassPermissions = !m_permissions; |
511 | 516 | ||