diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs b/OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs index 8c1b6a3..72f74fa 100644 --- a/OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs +++ b/OpenSim/Region/CoreModules/World/Land/Tests/PrimCountModuleTests.cs | |||
@@ -62,16 +62,7 @@ namespace OpenSim.Region.CoreModules.World.Land.Tests | |||
62 | lmm.AddLandObject(lo); | 62 | lmm.AddLandObject(lo); |
63 | //scene.loadAllLandObjectsFromStorage(scene.RegionInfo.originRegionID); | 63 | //scene.loadAllLandObjectsFromStorage(scene.RegionInfo.originRegionID); |
64 | 64 | ||
65 | SceneObjectPart part1 | 65 | SceneObjectGroup sog = SceneSetupHelpers.CreateSceneObject(3, userId); |
66 | = new SceneObjectPart(userId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) | ||
67 | { Name = "obj1", UUID = new UUID("00000000-0000-0000-0000-000000000001") }; | ||
68 | SceneObjectGroup sog = new SceneObjectGroup(part1); | ||
69 | sog.AddPart( | ||
70 | new SceneObjectPart(userId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) | ||
71 | { Name = "obj2", UUID = new UUID("00000000-0000-0000-0000-000000000002") }); | ||
72 | sog.AddPart( | ||
73 | new SceneObjectPart(userId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) | ||
74 | { Name = "obj3", UUID = new UUID("00000000-0000-0000-0000-000000000003") }); | ||
75 | 66 | ||
76 | Assert.That(pcm.GetOwnerCount(lo.LandData.GlobalID), Is.EqualTo(0)); | 67 | Assert.That(pcm.GetOwnerCount(lo.LandData.GlobalID), Is.EqualTo(0)); |
77 | Assert.That(pcm.GetGroupCount(lo.LandData.GlobalID), Is.EqualTo(0)); | 68 | Assert.That(pcm.GetGroupCount(lo.LandData.GlobalID), Is.EqualTo(0)); |