Minor formatting cleanup.
parent
03e3f88059
commit
eee31c6f28
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue