From c5d1f87cd202663f2f26ca90a973d9763070dda3 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Mon, 3 Mar 2008 08:35:59 +0000 Subject: * Removed and sorted using clauses in a number of files. * Cleaned up ITerrainChannel * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes * Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes * Implemented Export functionality for RAW32 terrain loader * Implemented Import/Export for SLRAW terrain loader * Implemented Export for JPEG terrain loader --- OpenSim/Region/Environment/Scenes/SceneBase.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs index 3f7edfb..2a2dea1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneBase.cs +++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs @@ -112,7 +112,16 @@ namespace OpenSim.Region.Environment.Scenes /// Client to send to public virtual void SendLayerData(IClientAPI RemoteClient) { - RemoteClient.SendLayerData(Terrain.GetHeights1D()); + bool usingTerrainModule = false; + + if (usingTerrainModule) + { + RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised()); + } + else + { + RemoteClient.SendLayerData(Terrain.GetHeights1D()); + } } #endregion -- cgit v1.1