aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs b/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs
index 73f66cb..4d4974f 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/TaskInventoryTests.cs
@@ -122,14 +122,14 @@ namespace OpenSim.Region.Framework.Tests
122 122
123 scene.RezObject(sop1, taskSceneObjectItem, rezPos, rezRot, rezVel, 0); 123 scene.RezObject(sop1, taskSceneObjectItem, rezPos, rezRot, rezVel, 0);
124 124
125 SceneObjectPart rezzedObjectPart = scene.GetSceneObjectPart("tso"); 125 SceneObjectGroup rezzedObject = scene.GetSceneObjectGroup("tso");
126 126
127 Assert.That(rezzedObjectPart, Is.Not.Null); 127 Assert.That(rezzedObject, Is.Not.Null);
128 Assert.That(rezzedObjectPart.AbsolutePosition, Is.EqualTo(rezPos)); 128 Assert.That(rezzedObject.AbsolutePosition, Is.EqualTo(rezPos));
129 Assert.That(rezzedObjectPart.RotationOffset, Is.EqualTo(rezRot)); 129 Assert.That(rezzedObject.Velocity, Is.EqualTo(rezVel));
130 130
131 // Velocity isn't being set, possibly because we have no physics 131 // Confusingly, this isn't the rezzedObject.Rotation
132 //Assert.That(rezzedObjectPart.Velocity, Is.EqualTo(rezVel)); 132 Assert.That(rezzedObject.RootPart.RotationOffset, Is.EqualTo(rezRot));
133 } 133 }
134 134
135 /// <summary> 135 /// <summary>