From cc48110a03e904974335eb166f8109e0557e4ec4 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 26 Oct 2008 23:09:00 +0000 Subject: Mantis #2428 Thank you, miceakitsune, for a patch that makes terraforming tools usable again --- .../Environment/Modules/World/Terrain/PaintBrushes/SmoothSphere.cs | 2 +- OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World') diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/SmoothSphere.cs b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/SmoothSphere.cs index c63cb90..0b4996f 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/SmoothSphere.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/SmoothSphere.cs @@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes double area = strength; double step = strength / 4.0; - duration = 0.0045; //MCP Should be read from ini file + duration = 0.03; //MCP Should be read from ini file // compute delta map diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs index 2e6595a..b20ff42 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainUtil.cs @@ -35,7 +35,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain public static double MetersToSphericalStrength(double size) { //return Math.Pow(2, size); - return (size + 1) * 2.5; // MCP: a more useful brush size range + return (size + 1) * 1.35; // MCP: a more useful brush size range } public static double SphericalFactor(double x, double y, double rx, double ry, double size) -- cgit v1.1