* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this
parent
1b0a398763
commit
7a751f6940
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue