* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.
parent
5548dd6b06
commit
d90022b4d8
|
@ -72,7 +72,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
|
||||||
if (z > 0.0)
|
if (z > 0.0)
|
||||||
{
|
{
|
||||||
z *= duration;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue