Minor formatting cleanup.

0.6.0-stable
Jeff Ames 2008-09-16 10:15:09 +00:00
parent 03e3f88059
commit eee31c6f28
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
double sum = 0.0;
double step2 = 0.0;
duration = 0.009; //MCP Should be read from ini file
duration = 0.009; //MCP Should be read from ini file
// compute delta map

View File

@ -44,7 +44,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
public void PaintEffect(ITerrainChannel map, double rx, double ry, double strength, double duration)
{
strength = TerrainUtil.MetersToSphericalStrength(strength);
duration = 0.03; //MCP Should be read from ini file
duration = 0.03; //MCP Should be read from ini file
if (duration > 1.0)
duration = 1.0;

View File

@ -190,7 +190,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (bool.TryParse(perm, out allowed))
{
// Boolean given
if(allowed)
if (allowed)
m_FunctionPerms[function] = null; // a null value is all
else
m_FunctionPerms[function] = new List<UUID>(); // Empty list = none