diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneBase.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 1b1549e..ccdd096 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -869,7 +869,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
869 | 869 | ||
870 | public void SendTerrainUpdate(bool checkForTainted) | 870 | public void SendTerrainUpdate(bool checkForTainted) |
871 | { | 871 | { |
872 | float[] terData = Terrain.GetHeights1D(); | 872 | float[] terData = Heightmap.GetFloatsSerialised(); |
873 | 873 | ||
874 | Broadcast(delegate(IClientAPI client) | 874 | Broadcast(delegate(IClientAPI client) |
875 | { | 875 | { |
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs index 9ee5e0e..2a2dea1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneBase.cs +++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs | |||
@@ -112,7 +112,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
112 | /// <param name="RemoteClient">Client to send to</param> | 112 | /// <param name="RemoteClient">Client to send to</param> |
113 | public virtual void SendLayerData(IClientAPI RemoteClient) | 113 | public virtual void SendLayerData(IClientAPI RemoteClient) |
114 | { | 114 | { |
115 | bool usingTerrainModule = true; | 115 | bool usingTerrainModule = false; |
116 | 116 | ||
117 | if (usingTerrainModule) | 117 | if (usingTerrainModule) |
118 | { | 118 | { |