diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs index 928a595..fbb57da 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | |||
@@ -41,10 +41,13 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes | |||
41 | 41 | ||
42 | int x, y; | 42 | int x, y; |
43 | 43 | ||
44 | duration = 0.009; //MCP Should be read from ini file | ||
45 | |||
46 | // Disabled - just use the client value. | ||
47 | /* | ||
44 | if (rz < 0) { | 48 | if (rz < 0) { |
45 | double sum = 0.0; | 49 | double sum = 0.0; |
46 | double step2 = 0.0; | 50 | double step2 = 0.0; |
47 | duration = 0.009; //MCP Should be read from ini file | ||
48 | 51 | ||
49 | 52 | ||
50 | // compute delta map | 53 | // compute delta map |
@@ -63,6 +66,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes | |||
63 | } | 66 | } |
64 | rz = sum / step2; | 67 | rz = sum / step2; |
65 | } | 68 | } |
69 | */ | ||
66 | 70 | ||
67 | 71 | ||
68 | // blend in map | 72 | // blend in map |