aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorAdam Frisby2008-05-13 17:14:04 +0000
committerAdam Frisby2008-05-13 17:14:04 +0000
commitd90022b4d88abac6f8a65b954e27c5952965eca3 (patch)
tree4ec0948336494e8ed41b78a2ed825f83aad69b2a /OpenSim
parent* Some more bulletx physics fixes from Jed (DeepThink) (diff)
downloadopensim-SC-d90022b4d88abac6f8a65b954e27c5952965eca3.zip
opensim-SC-d90022b4d88abac6f8a65b954e27c5952965eca3.tar.gz
opensim-SC-d90022b4d88abac6f8a65b954e27c5952965eca3.tar.bz2
opensim-SC-d90022b4d88abac6f8a65b954e27c5952965eca3.tar.xz
* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
index 3deb458..db3fef7 100644
--- a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
+++ b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
@@ -72,7 +72,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
72 if (z > 0.0) 72 if (z > 0.0)
73 { 73 {
74 z *= duration; 74 z *= duration;
75 map[x, y] += (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z); 75 map[x, y] = (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z);
76 } 76 }
77 } 77 }
78 } 78 }
@@ -80,4 +80,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
80 80
81 #endregion 81 #endregion
82 } 82 }
83} \ No newline at end of file 83}