diff options
author | Dr Scofield | 2008-09-15 14:49:22 +0000 |
---|---|---|
committer | Dr Scofield | 2008-09-15 14:49:22 +0000 |
commit | 4d88246a3fa751af689cf66b764098f49d9df44a (patch) | |
tree | 87fabf96ace3edea3b9ff1ab4876d85dae73eb71 /OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | |
parent | Mantis#2197. Thank you kindly, Tyre, for a patch that: (diff) | |
download | opensim-SC_OLD-4d88246a3fa751af689cf66b764098f49d9df44a.zip opensim-SC_OLD-4d88246a3fa751af689cf66b764098f49d9df44a.tar.gz opensim-SC_OLD-4d88246a3fa751af689cf66b764098f49d9df44a.tar.bz2 opensim-SC_OLD-4d88246a3fa751af689cf66b764098f49d9df44a.tar.xz |
reverting r6302
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs index 797c6a0..def28eb 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | |||
@@ -34,8 +34,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain | |||
34 | { | 34 | { |
35 | public static double MetersToSphericalStrength(double size) | 35 | public static double MetersToSphericalStrength(double size) |
36 | { | 36 | { |
37 | //return Math.Pow(2, size); | 37 | return Math.Pow(2, size); |
38 | return (size + 1) * 2.0; // MCP: a more useful brush size range | ||
39 | } | 38 | } |
40 | 39 | ||
41 | public static double SphericalFactor(double x, double y, double rx, double ry, double size) | 40 | public static double SphericalFactor(double x, double y, double rx, double ry, double size) |