aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs3
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs2
2 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
index 6461636..48130e7 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs
@@ -488,6 +488,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
488 currentRegionSettings.Elevation2SE = loadedRegionSettings.Elevation2SE; 488 currentRegionSettings.Elevation2SE = loadedRegionSettings.Elevation2SE;
489 currentRegionSettings.Elevation2SW = loadedRegionSettings.Elevation2SW; 489 currentRegionSettings.Elevation2SW = loadedRegionSettings.Elevation2SW;
490 currentRegionSettings.FixedSun = loadedRegionSettings.FixedSun; 490 currentRegionSettings.FixedSun = loadedRegionSettings.FixedSun;
491 currentRegionSettings.SunPosition = loadedRegionSettings.SunPosition;
491 currentRegionSettings.ObjectBonus = loadedRegionSettings.ObjectBonus; 492 currentRegionSettings.ObjectBonus = loadedRegionSettings.ObjectBonus;
492 currentRegionSettings.RestrictPushing = loadedRegionSettings.RestrictPushing; 493 currentRegionSettings.RestrictPushing = loadedRegionSettings.RestrictPushing;
493 currentRegionSettings.TerrainLowerLimit = loadedRegionSettings.TerrainLowerLimit; 494 currentRegionSettings.TerrainLowerLimit = loadedRegionSettings.TerrainLowerLimit;
@@ -500,6 +501,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
500 currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight; 501 currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight;
501 502
502 currentRegionSettings.Save(); 503 currentRegionSettings.Save();
504
505 m_scene.TriggerEstateSunUpdate();
503 506
504 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); 507 IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();
505 508
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
index 34e2e23..6ba3459 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
@@ -440,6 +440,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests
440 rs.Elevation2SE = 9.2; 440 rs.Elevation2SE = 9.2;
441 rs.Elevation2SW = 2.1; 441 rs.Elevation2SW = 2.1;
442 rs.FixedSun = true; 442 rs.FixedSun = true;
443 rs.SunPosition = 12.0;
443 rs.ObjectBonus = 1.4; 444 rs.ObjectBonus = 1.4;
444 rs.RestrictPushing = true; 445 rs.RestrictPushing = true;
445 rs.TerrainLowerLimit = 0.4; 446 rs.TerrainLowerLimit = 0.4;
@@ -485,6 +486,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests
485 Assert.That(loadedRs.Elevation2SE, Is.EqualTo(9.2)); 486 Assert.That(loadedRs.Elevation2SE, Is.EqualTo(9.2));
486 Assert.That(loadedRs.Elevation2SW, Is.EqualTo(2.1)); 487 Assert.That(loadedRs.Elevation2SW, Is.EqualTo(2.1));
487 Assert.That(loadedRs.FixedSun, Is.True); 488 Assert.That(loadedRs.FixedSun, Is.True);
489 Assert.AreEqual(12.0, loadedRs.SunPosition);
488 Assert.That(loadedRs.ObjectBonus, Is.EqualTo(1.4)); 490 Assert.That(loadedRs.ObjectBonus, Is.EqualTo(1.4));
489 Assert.That(loadedRs.RestrictPushing, Is.True); 491 Assert.That(loadedRs.RestrictPushing, Is.True);
490 Assert.That(loadedRs.TerrainLowerLimit, Is.EqualTo(0.4)); 492 Assert.That(loadedRs.TerrainLowerLimit, Is.EqualTo(0.4));