diff options
author | Robert Adams | 2014-01-28 16:25:01 -0800 |
---|---|---|
committer | Robert Adams | 2014-01-28 16:25:01 -0800 |
commit | 0c3493f61965ab3fcd16217f72ed2ae7a347130c (patch) | |
tree | d9b3feb941d78abd0ec3635a3ff370b22086079b /OpenSim/Region/CoreModules | |
parent | Fix terrain tests by properly initializing low detail terrain to zero height. (diff) | |
download | opensim-SC-0c3493f61965ab3fcd16217f72ed2ae7a347130c.zip opensim-SC-0c3493f61965ab3fcd16217f72ed2ae7a347130c.tar.gz opensim-SC-0c3493f61965ab3fcd16217f72ed2ae7a347130c.tar.bz2 opensim-SC-0c3493f61965ab3fcd16217f72ed2ae7a347130c.tar.xz |
clear land tainting when tested. Then testing, pass scene to LandObject as now needed to get region size
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs index 53f41f9..e08a42d 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | |||
@@ -579,7 +579,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests | |||
579 | ArchiveConstants.CONTROL_FILE_PATH, | 579 | ArchiveConstants.CONTROL_FILE_PATH, |
580 | new ArchiveWriteRequest(m_scene, (Stream)null, Guid.Empty).CreateControlFile(new ArchiveScenesGroup())); | 580 | new ArchiveWriteRequest(m_scene, (Stream)null, Guid.Empty).CreateControlFile(new ArchiveScenesGroup())); |
581 | 581 | ||
582 | LandObject lo = new LandObject(groupID, true, null); | 582 | LandObject lo = new LandObject(groupID, true, m_scene); |
583 | lo.SetLandBitmap(lo.BasicFullRegionLandBitmap()); | 583 | lo.SetLandBitmap(lo.BasicFullRegionLandBitmap()); |
584 | LandData ld = lo.LandData; | 584 | LandData ld = lo.LandData; |
585 | ld.GlobalID = landID; | 585 | ld.GlobalID = landID; |