From ac443559d119ef2aed5a7e1469e091d5197b358c Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Wed, 8 Oct 2008 14:51:55 +0000 Subject: Mantis#2354. Thank you kindly, Tglion for a patch that: The average-value of modify.ModifyBlock.Height in LLClientView.cs:4170 seem to be incorrect or it isn't the average? Mhhh... So the terrain build -> Flaten Sphere is unuseable. I have put in a patch that contains a workaround while the main problem is not solved. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index d2f46e5..b2138aa 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4179,6 +4179,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP handlerModifyTerrain = OnModifyTerrain; if (handlerModifyTerrain != null) { + modify.ModifyBlock.Height = -1; // Hack, i don't know why the value is wrong handlerModifyTerrain(modify.ModifyBlock.Height, modify.ModifyBlock.Seconds, modify.ModifyBlock.BrushSize, modify.ModifyBlock.Action, modify.ParcelData[i].North, -- cgit v1.1