fix bug where region settings loaded via an oar (water height, terrain textures, etc.) were not being persisted to the database

this meant that the loaded settings would disappear after a restart
0.6.9
Justin Clark-Casey (justincc) 2010-02-26 18:30:05 +00:00
parent e635570cf3
commit 93967d4a1c
1 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4; currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4;
currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun; currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun;
currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight; currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight;
currentRegionSettings.Save();
IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();