aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-02-26 18:30:05 +0000
committerJustin Clark-Casey (justincc)2010-02-26 18:30:05 +0000
commit93967d4a1c500ede1431e2aa56d5d3a6b0da0130 (patch)
tree8813410a1f87cba3c271ee215372dde111530921 /OpenSim/Region
parentminor formatting tweak - try to trigger a build on panda (diff)
downloadopensim-SC_OLD-93967d4a1c500ede1431e2aa56d5d3a6b0da0130.zip
opensim-SC_OLD-93967d4a1c500ede1431e2aa56d5d3a6b0da0130.tar.gz
opensim-SC_OLD-93967d4a1c500ede1431e2aa56d5d3a6b0da0130.tar.bz2
opensim-SC_OLD-93967d4a1c500ede1431e2aa56d5d3a6b0da0130.tar.xz
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
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
index ad58f40..381c8f7 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
@@ -435,6 +435,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
435 currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4; 435 currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4;
436 currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun; 436 currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun;
437 currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight; 437 currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight;
438
439 currentRegionSettings.Save();
438 440
439 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); 441 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();
440 442