diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 11 |
1 files changed, 7 insertions, 4 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; |