aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index d77b8ae..f7bfc24 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2172,7 +2172,7 @@ namespace OpenSim.Region.Framework.Scenes
2172 /// </summary> 2172 /// </summary>
2173 public void SaveTerrain() 2173 public void SaveTerrain()
2174 { 2174 {
2175 SimulationDataService.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); 2175 SimulationDataService.StoreTerrain(Heightmap.GetTerrainData(), RegionInfo.RegionID);
2176 } 2176 }
2177 2177
2178 public void StoreWindlightProfile(RegionLightShareData wl) 2178 public void StoreWindlightProfile(RegionLightShareData wl)
@@ -2208,7 +2208,7 @@ namespace OpenSim.Region.Framework.Scenes
2208 m_log.InfoFormat("[TERRAIN]: No default terrain. Generating a new terrain {0}.", m_InitialTerrain); 2208 m_log.InfoFormat("[TERRAIN]: No default terrain. Generating a new terrain {0}.", m_InitialTerrain);
2209 Heightmap = new TerrainChannel(m_InitialTerrain, (int)RegionInfo.RegionSizeX, (int)RegionInfo.RegionSizeY, (int)RegionInfo.RegionSizeZ); 2209 Heightmap = new TerrainChannel(m_InitialTerrain, (int)RegionInfo.RegionSizeX, (int)RegionInfo.RegionSizeY, (int)RegionInfo.RegionSizeZ);
2210 2210
2211 SimulationDataService.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); 2211 SimulationDataService.StoreTerrain(Heightmap.GetTerrainData(), RegionInfo.RegionID);
2212 } 2212 }
2213 else 2213 else
2214 { 2214 {
@@ -2227,7 +2227,7 @@ namespace OpenSim.Region.Framework.Scenes
2227 { 2227 {
2228 Heightmap = new TerrainChannel(); 2228 Heightmap = new TerrainChannel();
2229 2229
2230 SimulationDataService.StoreTerrain(Heightmap.GetDoubles(), RegionInfo.RegionID); 2230 SimulationDataService.StoreTerrain(Heightmap.GetTerrainData(), RegionInfo.RegionID);
2231 } 2231 }
2232 } 2232 }
2233 catch (Exception e) 2233 catch (Exception e)