aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs
diff options
context:
space:
mode:
authorSean Dague2008-11-10 20:46:47 +0000
committerSean Dague2008-11-10 20:46:47 +0000
commitd52946dd0da40cd1127ce5343076341e9b5bc694 (patch)
tree9bd4d71a26c682af0b35d538a18d6086686abf10 /OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs
parentmake things compile, but the test still fails because of the root part (diff)
downloadopensim-SC-d52946dd0da40cd1127ce5343076341e9b5bc694.zip
opensim-SC-d52946dd0da40cd1127ce5343076341e9b5bc694.tar.gz
opensim-SC-d52946dd0da40cd1127ce5343076341e9b5bc694.tar.bz2
opensim-SC-d52946dd0da40cd1127ce5343076341e9b5bc694.tar.xz
fix unit tests use SetRootPart now
From: Sean Dague <sdague@gmail.com>
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/EntityListTests.cs')
-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