Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
cfe1bced7d
|
@ -160,7 +160,11 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
public override bool IsTaintedAt(int xx, int yy)
|
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
|
// TerrainData.GetDatabaseBlob
|
||||||
|
|
|
@ -579,7 +579,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests
|
||||||
ArchiveConstants.CONTROL_FILE_PATH,
|
ArchiveConstants.CONTROL_FILE_PATH,
|
||||||
new ArchiveWriteRequest(m_scene, (Stream)null, Guid.Empty).CreateControlFile(new ArchiveScenesGroup()));
|
new ArchiveWriteRequest(m_scene, (Stream)null, Guid.Empty).CreateControlFile(new ArchiveScenesGroup()));
|
||||||
|
|
||||||
LandObject lo = new LandObject(groupID, true, null);
|
LandObject lo = new LandObject(groupID, true, m_scene);
|
||||||
lo.SetLandBitmap(lo.BasicFullRegionLandBitmap());
|
lo.SetLandBitmap(lo.BasicFullRegionLandBitmap());
|
||||||
LandData ld = lo.LandData;
|
LandData ld = lo.LandData;
|
||||||
ld.GlobalID = landID;
|
ld.GlobalID = landID;
|
||||||
|
|
Loading…
Reference in New Issue