From d52946dd0da40cd1127ce5343076341e9b5bc694 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 10 Nov 2008 20:46:47 +0000 Subject: fix unit tests use SetRootPart now From: Sean Dague --- OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs index be12a32..94b1fdd 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs @@ -87,7 +87,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests //part.UpdatePrimFlags(false, false, true); part.ObjectFlags |= (uint)PrimFlags.Phantom; - sceneObject.AddPart(part); + sceneObject.SetRootPart(part); scene.AddNewSceneObject(sceneObject, false); @@ -224,7 +224,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests sop.TouchName = RandomName(); sop.ObjectFlags |= (uint)PrimFlags.Phantom; - sog.AddPart(sop); + sog.SetRootPart(sop); scene.AddNewSceneObject(sog, false); @@ -243,7 +243,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests sop.TouchName = RandomName(); sop.ObjectFlags |= (uint)PrimFlags.Phantom; - sog.AddPart(sop); + sog.SetRootPart(sop); scene.AddNewSceneObject(sog, false); -- cgit v1.1