fix some effects ranges
parent
b114a04ed4
commit
207dd6da48
|
@ -58,7 +58,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FloodBrushes
|
||||||
|
|
||||||
for (x = startX; x <= endX; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = startY; y < endY; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (fillArea[x, y])
|
if (fillArea[x, y])
|
||||||
map[x, y] = (map[x, y] * (1.0 - str)) + (avg * str);
|
map[x, y] = (map[x, y] * (1.0 - str)) + (avg * str);
|
||||||
|
|
|
@ -43,9 +43,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
// blend in map
|
// blend in map
|
||||||
for (x = 0; x < map.Width; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = 0; y < map.Height; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (!mask[x,y])
|
if (!mask[x,y])
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -55,7 +55,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
||||||
int x,y;
|
int x,y;
|
||||||
for (x = startX; x <= endX; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = startY; y < endY; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (!mask[x, y])
|
if (!mask[x, y])
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
||||||
// compute delta map
|
// compute delta map
|
||||||
for (x = startX; x <= endX; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = startY; y < endY; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (!mask[x, y])
|
if (!mask[x, y])
|
||||||
continue;
|
continue;
|
||||||
|
@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
||||||
// blend in map
|
// blend in map
|
||||||
for (x = startX; x <= endX; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = startY; y < endY; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (!mask[x, y])
|
if (!mask[x, y])
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -157,7 +157,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
|
||||||
|
|
||||||
for (x = startX; x <= endX; x++)
|
for (x = startX; x <= endX; x++)
|
||||||
{
|
{
|
||||||
for (y = startY; y < endY; y++)
|
for (y = startY; y <= endY; y++)
|
||||||
{
|
{
|
||||||
if (!mask[x,y])
|
if (!mask[x,y])
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue