mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Minor formatting cleanup.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user