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 | |
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')
3 files changed, 3 insertions, 3 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; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 4da0076..5cc58e7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -190,7 +190,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
190 | if (bool.TryParse(perm, out allowed)) | 190 | if (bool.TryParse(perm, out allowed)) |
191 | { | 191 | { |
192 | // Boolean given | 192 | // Boolean given |
193 | if(allowed) | 193 | if (allowed) |
194 | m_FunctionPerms[function] = null; // a null value is all | 194 | m_FunctionPerms[function] = null; // a null value is all |
195 | else | 195 | else |
196 | m_FunctionPerms[function] = new List<UUID>(); // Empty list = none | 196 | m_FunctionPerms[function] = new List<UUID>(); // Empty list = none |