aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-05-20 23:45:39 +0100
committerJustin Clark-Casey (justincc)2011-05-20 23:45:39 +0100
commitf2095ea2797bd01dc727cdfac052508a17f62dc0 (patch)
tree860968558de84f79ffff8b17f08546cc758fd4cf /OpenSim/Region/Framework/Scenes
parentimplement Scene.GetSceneObjectGroup(string name) to match the equivalent GetS... (diff)
downloadopensim-SC-f2095ea2797bd01dc727cdfac052508a17f62dc0.zip
opensim-SC-f2095ea2797bd01dc727cdfac052508a17f62dc0.tar.gz
opensim-SC-f2095ea2797bd01dc727cdfac052508a17f62dc0.tar.bz2
opensim-SC-f2095ea2797bd01dc727cdfac052508a17f62dc0.tar.xz
refactor TestRezObjectFromInventoryItem()
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>