fix unit tests use SetRootPart now

From: Sean Dague <sdague@gmail.com>
0.6.1-post-fixes
Sean Dague 2008-11-10 20:46:47 +00:00
parent 03382c55cb
commit d52946dd0d
1 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
//part.UpdatePrimFlags(false, false, true); //part.UpdatePrimFlags(false, false, true);
part.ObjectFlags |= (uint)PrimFlags.Phantom; part.ObjectFlags |= (uint)PrimFlags.Phantom;
sceneObject.AddPart(part); sceneObject.SetRootPart(part);
scene.AddNewSceneObject(sceneObject, false); scene.AddNewSceneObject(sceneObject, false);
@ -224,7 +224,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
sop.TouchName = RandomName(); sop.TouchName = RandomName();
sop.ObjectFlags |= (uint)PrimFlags.Phantom; sop.ObjectFlags |= (uint)PrimFlags.Phantom;
sog.AddPart(sop); sog.SetRootPart(sop);
scene.AddNewSceneObject(sog, false); scene.AddNewSceneObject(sog, false);
@ -243,7 +243,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
sop.TouchName = RandomName(); sop.TouchName = RandomName();
sop.ObjectFlags |= (uint)PrimFlags.Phantom; sop.ObjectFlags |= (uint)PrimFlags.Phantom;
sog.AddPart(sop); sog.SetRootPart(sop);
scene.AddNewSceneObject(sog, false); scene.AddNewSceneObject(sog, false);