diff options
author | UbitUmarov | 2016-09-17 14:54:41 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-17 14:54:41 +0100 |
commit | 0cdad0faf4a773358a0fce7db4e7b9910b56a8e7 (patch) | |
tree | 64602e1e72668a3458c59b2e5e8d222553060a24 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | change spinobject math, and a few minor things (diff) | |
download | opensim-SC_OLD-0cdad0faf4a773358a0fce7db4e7b9910b56a8e7.zip opensim-SC_OLD-0cdad0faf4a773358a0fce7db4e7b9910b56a8e7.tar.gz opensim-SC_OLD-0cdad0faf4a773358a0fce7db4e7b9910b56a8e7.tar.bz2 opensim-SC_OLD-0cdad0faf4a773358a0fce7db4e7b9910b56a8e7.tar.xz |
stop using legacy storeterrain in scene.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
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) |