aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorRobert Adams2014-03-16 21:31:38 -0700
committerRobert Adams2014-05-31 12:19:49 -0700
commitdb5a42ffac7e46d88ef434b939230290d78530a7 (patch)
tree423eced17c42e19d5468e0d79fc54ebad815624c /OpenSim/Region/Framework/Scenes
parentFix a bug where estate not found would result in a dummy estate record with e... (diff)
downloadopensim-SC-db5a42ffac7e46d88ef434b939230290d78530a7.zip
opensim-SC-db5a42ffac7e46d88ef434b939230290d78530a7.tar.gz
opensim-SC-db5a42ffac7e46d88ef434b939230290d78530a7.tar.bz2
opensim-SC-db5a42ffac7e46d88ef434b939230290d78530a7.tar.xz
varregion: send terrain patches from where the avatar outward if the parameter
[Terrain]SendTerrainUpdatesByViewDistance=true. This tracks which patches have been sent to each client and outputs the patches as the avatar moves.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneBase.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index 4208669..0445268 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -213,7 +213,12 @@ namespace OpenSim.Region.Framework.Scenes
213 /// <param name="RemoteClient">Client to send to</param> 213 /// <param name="RemoteClient">Client to send to</param>
214 public virtual void SendLayerData(IClientAPI RemoteClient) 214 public virtual void SendLayerData(IClientAPI RemoteClient)
215 { 215 {
216 RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised()); 216 // RemoteClient.SendLayerData(Heightmap.GetFloatsSerialised());
217 ITerrainModule terrModule = RequestModuleInterface<ITerrainModule>();
218 if (terrModule != null)
219 {
220 terrModule.PushTerrain(RemoteClient);
221 }
217 } 222 }
218 223
219 #endregion 224 #endregion