diff options
author | Justin Clark-Casey (justincc) | 2010-01-22 16:22:23 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-01-22 16:22:23 +0000 |
commit | 5f5fdc36248788b97c1283f65e2188fa1d60a361 (patch) | |
tree | 1e4fa49f6baaa6d2c3b3fddab9744c048169369d /OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | |
parent | add a target position to agent updates to ScenePresence to support alternativ... (diff) | |
download | opensim-SC_OLD-5f5fdc36248788b97c1283f65e2188fa1d60a361.zip opensim-SC_OLD-5f5fdc36248788b97c1283f65e2188fa1d60a361.tar.gz opensim-SC_OLD-5f5fdc36248788b97c1283f65e2188fa1d60a361.tar.bz2 opensim-SC_OLD-5f5fdc36248788b97c1283f65e2188fa1d60a361.tar.xz |
Allow oar loading to work even if an estate module is not present
Write bare bones unit test for region setting loads
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs index 52add23..8ed1913 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -423,9 +423,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
423 | currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4; | 423 | currentRegionSettings.TerrainTexture4 = loadedRegionSettings.TerrainTexture4; |
424 | currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun; | 424 | currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun; |
425 | currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight; | 425 | currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight; |
426 | 426 | ||
427 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); | 427 | IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>(); |
428 | estateModule.sendRegionHandshakeToAll(); | 428 | |
429 | if (estateModule != null) | ||
430 | estateModule.sendRegionHandshakeToAll(); | ||
429 | 431 | ||
430 | return true; | 432 | return true; |
431 | } | 433 | } |