* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this

0.6.3-post-fixes
Justin Clarke Casey 2009-01-30 18:28:05 +00:00
parent 1b0a398763
commit 7a751f6940
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver.Tests
Scene scene = SceneSetupHelpers.SetupScene(); Scene scene = SceneSetupHelpers.SetupScene();
SceneSetupHelpers.SetupSceneModules(scene, archiverModule, terrainModule); SceneSetupHelpers.SetupSceneModules(scene, archiverModule, terrainModule);
MemoryStream archiveWriteStream = new MemoryStream(); MemoryStream archiveWriteStream = new MemoryStream();
archiverModule.ArchiveRegion(archiveWriteStream); archiverModule.ArchiveRegion(archiveWriteStream);

View File

@ -221,7 +221,7 @@ namespace OpenSim.Tests.Common.Setup
part.Name = name; part.Name = name;
//part.UpdatePrimFlags(false, false, true); //part.UpdatePrimFlags(false, false, true);
part.ObjectFlags |= (uint)PrimFlags.Phantom; //part.ObjectFlags |= (uint)PrimFlags.Phantom;
sceneObject.SetRootPart(part); sceneObject.SetRootPart(part);
scene.AddNewSceneObject(sceneObject, false); scene.AddNewSceneObject(sceneObject, false);