From 601914ecd807d9e36c0d9898562e730155a6051e Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Wed, 19 Aug 2015 16:28:03 +0100
Subject: find sending of initial terrain using PushTerrain as os core
---
OpenSim/Region/Framework/Scenes/SceneBase.cs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Framework/Scenes')
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
/// Client to send to
public virtual void SendLayerData(IClientAPI RemoteClient)
{
- RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised());
+// RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised());
+ ITerrainModule terrModule = RequestModuleInterface();
+ if (terrModule != null)
+ {
+ terrModule.PushTerrain(RemoteClient);
+ }
}
#endregion
--
cgit v1.1