diff options
author | UbitUmarov | 2015-08-19 16:28:03 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-19 16:28:03 +0100 |
commit | 601914ecd807d9e36c0d9898562e730155a6051e (patch) | |
tree | b93d89ea35e9379971c9373622090aefef77e7d5 /OpenSim/Region/Framework/Scenes/SceneBase.cs | |
parent | minor change (diff) | |
download | opensim-SC-601914ecd807d9e36c0d9898562e730155a6051e.zip opensim-SC-601914ecd807d9e36c0d9898562e730155a6051e.tar.gz opensim-SC-601914ecd807d9e36c0d9898562e730155a6051e.tar.bz2 opensim-SC-601914ecd807d9e36c0d9898562e730155a6051e.tar.xz |
find sending of initial terrain using PushTerrain as os core
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneBase.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs index f5be7a7..9648030 100644 --- a/OpenSim/Region/Framework/Scenes/SceneBase.cs +++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs | |||
@@ -211,7 +211,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
211 | /// <param name="RemoteClient">Client to send to</param> | 211 | /// <param name="RemoteClient">Client to send to</param> |
212 | public virtual void SendLayerData(IClientAPI RemoteClient) | 212 | public virtual void SendLayerData(IClientAPI RemoteClient) |
213 | { | 213 | { |
214 | RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised()); | 214 | // RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised()); |
215 | ITerrainModule terrModule = RequestModuleInterface<ITerrainModule>(); | ||
216 | if (terrModule != null) | ||
217 | { | ||
218 | terrModule.PushTerrain(RemoteClient); | ||
219 | } | ||
215 | } | 220 | } |
216 | 221 | ||
217 | #endregion | 222 | #endregion |