diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 631046a..50f6b71 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2770,7 +2770,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2770 | public virtual void SubscribeToClientTerrainEvents(IClientAPI client) | 2770 | public virtual void SubscribeToClientTerrainEvents(IClientAPI client) |
2771 | { | 2771 | { |
2772 | client.OnRegionHandShakeReply += SendLayerData; | 2772 | client.OnRegionHandShakeReply += SendLayerData; |
2773 | client.OnUnackedTerrain += TerrainUnAcked; | ||
2774 | } | 2773 | } |
2775 | 2774 | ||
2776 | public virtual void SubscribeToClientPrimEvents(IClientAPI client) | 2775 | public virtual void SubscribeToClientPrimEvents(IClientAPI client) |
@@ -2901,7 +2900,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2901 | public virtual void UnSubscribeToClientTerrainEvents(IClientAPI client) | 2900 | public virtual void UnSubscribeToClientTerrainEvents(IClientAPI client) |
2902 | { | 2901 | { |
2903 | client.OnRegionHandShakeReply -= SendLayerData; | 2902 | client.OnRegionHandShakeReply -= SendLayerData; |
2904 | client.OnUnackedTerrain -= TerrainUnAcked; | ||
2905 | } | 2903 | } |
2906 | 2904 | ||
2907 | public virtual void UnSubscribeToClientPrimEvents(IClientAPI client) | 2905 | public virtual void UnSubscribeToClientPrimEvents(IClientAPI client) |
@@ -4481,12 +4479,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4481 | client.SendRegionHandle(regionID, handle); | 4479 | client.SendRegionHandle(regionID, handle); |
4482 | } | 4480 | } |
4483 | 4481 | ||
4484 | public void TerrainUnAcked(IClientAPI client, int patchX, int patchY) | ||
4485 | { | ||
4486 | //m_log.Debug("Terrain packet unacked, resending patch: " + patchX + " , " + patchY); | ||
4487 | client.SendLayerData(patchX, patchY, Heightmap.GetFloatsSerialised()); | ||
4488 | } | ||
4489 | |||
4490 | public bool NeedSceneCacheClear(UUID agentID) | 4482 | public bool NeedSceneCacheClear(UUID agentID) |
4491 | { | 4483 | { |
4492 | IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>(); | 4484 | IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>(); |