aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs6
1 files changed, 3 insertions, 3 deletions
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
87 //part.UpdatePrimFlags(false, false, true); 87 //part.UpdatePrimFlags(false, false, true);
88 part.ObjectFlags |= (uint)PrimFlags.Phantom; 88 part.ObjectFlags |= (uint)PrimFlags.Phantom;
89 89
90 sceneObject.AddPart(part); 90 sceneObject.SetRootPart(part);
91 91
92 scene.AddNewSceneObject(sceneObject, false); 92 scene.AddNewSceneObject(sceneObject, false);
93 93
@@ -224,7 +224,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
224 sop.TouchName = RandomName(); 224 sop.TouchName = RandomName();
225 sop.ObjectFlags |= (uint)PrimFlags.Phantom; 225 sop.ObjectFlags |= (uint)PrimFlags.Phantom;
226 226
227 sog.AddPart(sop); 227 sog.SetRootPart(sop);
228 228
229 scene.AddNewSceneObject(sog, false); 229 scene.AddNewSceneObject(sog, false);
230 230
@@ -243,7 +243,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
243 sop.TouchName = RandomName(); 243 sop.TouchName = RandomName();
244 sop.ObjectFlags |= (uint)PrimFlags.Phantom; 244 sop.ObjectFlags |= (uint)PrimFlags.Phantom;
245 245
246 sog.AddPart(sop); 246 sog.SetRootPart(sop);
247 247
248 scene.AddNewSceneObject(sog, false); 248 scene.AddNewSceneObject(sog, false);
249 249