diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 11 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index dffcd73..065e5e0 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -2453,10 +2453,13 @@ namespace OpenSim.Region.ClientStack | |||
2453 | { | 2453 | { |
2454 | if (OnModifyTerrain != null) | 2454 | if (OnModifyTerrain != null) |
2455 | { | 2455 | { |
2456 | OnModifyTerrain(modify.ModifyBlock.Height, modify.ModifyBlock.Seconds, | 2456 | for (int i=0; i < modify.ParcelData.Length; i++) |
2457 | modify.ModifyBlock.BrushSize, | 2457 | { |
2458 | modify.ModifyBlock.Action, modify.ParcelData[0].North, | 2458 | OnModifyTerrain(modify.ModifyBlock.Height, modify.ModifyBlock.Seconds, |
2459 | modify.ParcelData[0].West, this); | 2459 | modify.ModifyBlock.BrushSize, |
2460 | modify.ModifyBlock.Action, modify.ParcelData[i].North, | ||
2461 | modify.ParcelData[i].West, modify.ParcelData[i].South, modify.ParcelData[i].East, this); | ||
2462 | } | ||
2460 | } | 2463 | } |
2461 | } | 2464 | } |
2462 | break; | 2465 | break; |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 07e5362..ce77527 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
45 | /// <param name="action">The action to be performed</param> | 45 | /// <param name="action">The action to be performed</param> |
46 | /// <param name="north">Distance from the north border where the cursor is located</param> | 46 | /// <param name="north">Distance from the north border where the cursor is located</param> |
47 | /// <param name="west">Distance from the west border where the cursor is located</param> | 47 | /// <param name="west">Distance from the west border where the cursor is located</param> |
48 | public void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west, | 48 | public void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west, float south, float east, |
49 | IClientAPI remoteUser) | 49 | IClientAPI remoteUser) |
50 | { | 50 | { |
51 | // Do a permissions check before allowing terraforming. | 51 | // Do a permissions check before allowing terraforming. |