diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 2c5e444..cb80111 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -586,8 +586,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
586 | client.OnModifyTerrain += client_OnModifyTerrain; | 586 | client.OnModifyTerrain += client_OnModifyTerrain; |
587 | client.OnBakeTerrain += client_OnBakeTerrain; | 587 | client.OnBakeTerrain += client_OnBakeTerrain; |
588 | client.OnLandUndo += client_OnLandUndo; | 588 | client.OnLandUndo += client_OnLandUndo; |
589 | client.OnUnackedTerrain += client_OnUnackedTerrain; | ||
589 | } | 590 | } |
590 | 591 | ||
591 | /// <summary> | 592 | /// <summary> |
592 | /// Checks to see if the terrain has been modified since last check | 593 | /// Checks to see if the terrain has been modified since last check |
593 | /// but won't attempt to limit those changes to the limits specified in the estate settings | 594 | /// but won't attempt to limit those changes to the limits specified in the estate settings |
@@ -808,6 +809,12 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
808 | InterfaceBakeTerrain(null); //bake terrain does not use the passed in parameter | 809 | InterfaceBakeTerrain(null); //bake terrain does not use the passed in parameter |
809 | } | 810 | } |
810 | } | 811 | } |
812 | |||
813 | protected void client_OnUnackedTerrain(IClientAPI client, int patchX, int patchY) | ||
814 | { | ||
815 | //m_log.Debug("Terrain packet unacked, resending patch: " + patchX + " , " + patchY); | ||
816 | client.SendLayerData(patchX, patchY, m_scene.Heightmap.GetFloatsSerialised()); | ||
817 | } | ||
811 | 818 | ||
812 | private void StoreUndoState() | 819 | private void StoreUndoState() |
813 | { | 820 | { |