aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-15 17:10:12 +0000
committerTeravus Ovares2007-12-15 17:10:12 +0000
commite3dd15bef05bbe53b3dac44c320e4182ce7feb68 (patch)
tree38b93ee4a8aa88113588f91f6940b3358146ee34 /OpenSim/Region/ClientStack
parentThanks again to Alondria for adding: math support for (diff)
downloadopensim-SC-e3dd15bef05bbe53b3dac44c320e4182ce7feb68.zip
opensim-SC-e3dd15bef05bbe53b3dac44c320e4182ce7feb68.tar.gz
opensim-SC-e3dd15bef05bbe53b3dac44c320e4182ce7feb68.tar.bz2
opensim-SC-e3dd15bef05bbe53b3dac44c320e4182ce7feb68.tar.xz
* Added support for multiple terrain blocks to be edited at the same time
* Now sending South and East cords to the terrain editor.. * No new functionality from a user perspective * Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs11
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;