diff options
author | Adam Frisby | 2008-03-03 08:35:59 +0000 |
---|---|---|
committer | Adam Frisby | 2008-03-03 08:35:59 +0000 |
commit | c5d1f87cd202663f2f26ca90a973d9763070dda3 (patch) | |
tree | b1941867d13d1d3b29b46483e6b58cba536c72ca /OpenSim/Region/Environment/Scenes/SceneBase.cs | |
parent | * Applying Ahzz's profile patch. Thanks Ahzz! (diff) | |
download | opensim-SC-c5d1f87cd202663f2f26ca90a973d9763070dda3.zip opensim-SC-c5d1f87cd202663f2f26ca90a973d9763070dda3.tar.gz opensim-SC-c5d1f87cd202663f2f26ca90a973d9763070dda3.tar.bz2 opensim-SC-c5d1f87cd202663f2f26ca90a973d9763070dda3.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneBase.cs | 11 |
1 files changed, 10 insertions, 1 deletions
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 | |||
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 | RemoteClient.SendLayerData(Terrain.GetHeights1D()); | 115 | bool usingTerrainModule = false; |
116 | |||
117 | if (usingTerrainModule) | ||
118 | { | ||
119 | RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised()); | ||
120 | } | ||
121 | else | ||
122 | { | ||
123 | RemoteClient.SendLayerData(Terrain.GetHeights1D()); | ||
124 | } | ||
116 | } | 125 | } |
117 | 126 | ||
118 | #endregion | 127 | #endregion |