mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user