diff options
author | UbitUmarov | 2015-08-27 22:36:14 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-27 22:36:14 +0100 |
commit | bd4ec5f26c8cc038e5155d6913e5a4601f724271 (patch) | |
tree | 509df6de47dbb47937fe5bbb823697bd85ac8f02 /OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | |
parent | remove the rest of #justEditedTerrain, it was sending patchs non (diff) | |
download | opensim-SC_OLD-bd4ec5f26c8cc038e5155d6913e5a4601f724271.zip opensim-SC_OLD-bd4ec5f26c8cc038e5155d6913e5a4601f724271.tar.gz opensim-SC_OLD-bd4ec5f26c8cc038e5155d6913e5a4601f724271.tar.bz2 opensim-SC_OLD-bd4ec5f26c8cc038e5155d6913e5a4601f724271.tar.xz |
restrict terrain PaintBrushes to the requested area
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs index 9aa3dff..34bed8b 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | |||
@@ -35,7 +35,8 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes | |||
35 | { | 35 | { |
36 | #region ITerrainPaintableEffect Members | 36 | #region ITerrainPaintableEffect Members |
37 | 37 | ||
38 | public void PaintEffect(ITerrainChannel map, bool[,] mask, double rx, double ry, double rz, double strength, double duration) | 38 | public void PaintEffect(ITerrainChannel map, bool[,] mask, double rx, double ry, double rz, |
39 | double strength, double duration, int startX, int endX, int startY, int endY) | ||
39 | { | 40 | { |
40 | strength = TerrainUtil.MetersToSphericalStrength(strength); | 41 | strength = TerrainUtil.MetersToSphericalStrength(strength); |
41 | 42 | ||