diff options
author | Jeff Ames | 2008-09-16 10:15:09 +0000 |
---|---|---|
committer | Jeff Ames | 2008-09-16 10:15:09 +0000 |
commit | eee31c6f2877bb00beec766022da2d4d47b81066 (patch) | |
tree | 6e16a5eae1e933732a09a8f7d386d9d8e5d2368e /OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes | |
parent | From: mike pitman <pitman@us.ibm.com> (diff) | |
download | opensim-SC-eee31c6f2877bb00beec766022da2d4d47b81066.zip opensim-SC-eee31c6f2877bb00beec766022da2d4d47b81066.tar.gz opensim-SC-eee31c6f2877bb00beec766022da2d4d47b81066.tar.bz2 opensim-SC-eee31c6f2877bb00beec766022da2d4d47b81066.tar.xz |
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/FlattenSphere.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/FlattenSphere.cs b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/FlattenSphere.cs index 40fb01e..1e2d611 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/FlattenSphere.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/FlattenSphere.cs | |||
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes | |||
42 | 42 | ||
43 | double sum = 0.0; | 43 | double sum = 0.0; |
44 | double step2 = 0.0; | 44 | double step2 = 0.0; |
45 | duration = 0.009; //MCP Should be read from ini file | 45 | duration = 0.009; //MCP Should be read from ini file |
46 | 46 | ||
47 | 47 | ||
48 | // compute delta map | 48 | // compute delta map |
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs index 64c0a07..7a1ec72 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs | |||
@@ -44,7 +44,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes | |||
44 | public void PaintEffect(ITerrainChannel map, double rx, double ry, double strength, double duration) | 44 | public void PaintEffect(ITerrainChannel map, double rx, double ry, double strength, double duration) |
45 | { | 45 | { |
46 | strength = TerrainUtil.MetersToSphericalStrength(strength); | 46 | strength = TerrainUtil.MetersToSphericalStrength(strength); |
47 | duration = 0.03; //MCP Should be read from ini file | 47 | duration = 0.03; //MCP Should be read from ini file |
48 | 48 | ||
49 | if (duration > 1.0) | 49 | if (duration > 1.0) |
50 | duration = 1.0; | 50 | duration = 1.0; |