fix some effects ranges

avinationmerge
UbitUmarov 2015-08-29 05:28:13 +01:00
parent b114a04ed4
commit 207dd6da48
5 changed files with 7 additions and 7 deletions

View File

@ -58,7 +58,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FloodBrushes
for (x = startX; x <= endX; x++)
{
for (y = startY; y < endY; y++)
for (y = startY; y <= endY; y++)
{
if (fillArea[x, y])
map[x, y] = (map[x, y] * (1.0 - str)) + (avg * str);

View File

@ -43,9 +43,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
int x, y;
// 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])
continue;

View File

@ -55,7 +55,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
int x,y;
for (x = startX; x <= endX; x++)
{
for (y = startY; y < endY; y++)
for (y = startY; y <= endY; y++)
{
if (!mask[x, y])
continue;

View File

@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
// compute delta map
for (x = startX; x <= endX; x++)
{
for (y = startY; y < endY; y++)
for (y = startY; y <= endY; y++)
{
if (!mask[x, y])
continue;
@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
// blend in map
for (x = startX; x <= endX; x++)
{
for (y = startY; y < endY; y++)
for (y = startY; y <= endY; y++)
{
if (!mask[x, y])
continue;

View File

@ -157,7 +157,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
for (x = startX; x <= endX; x++)
{
for (y = startY; y < endY; y++)
for (y = startY; y <= endY; y++)
{
if (!mask[x,y])
continue;