* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.

This commit is contained in:
Adam Frisby
2008-05-13 17:14:04 +00:00
parent 5548dd6b06
commit d90022b4d8

View File

@@ -72,7 +72,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
if (z > 0.0)
{
z *= duration;
map[x, y] += (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z);
map[x, y] = (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z);
}
}
}
@@ -80,4 +80,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
#endregion
}
}
}