mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
clear land tainting when tested. Then testing, pass scene to LandObject as now needed to get region size
This commit is contained in:
@@ -160,7 +160,11 @@ namespace OpenSim.Framework
|
||||
|
||||
public override bool IsTaintedAt(int xx, int yy)
|
||||
{
|
||||
return m_taint[xx / Constants.TerrainPatchSize, yy / Constants.TerrainPatchSize];
|
||||
int tx = xx / Constants.TerrainPatchSize;
|
||||
int ty = yy / Constants.TerrainPatchSize;
|
||||
bool ret = m_taint[tx, ty];
|
||||
m_taint[tx, ty] = false;
|
||||
return ret;
|
||||
}
|
||||
|
||||
// TerrainData.GetDatabaseBlob
|
||||
|
||||
Reference in New Issue
Block a user