diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs index e3ffb53..fa308b4 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceSitTests.cs | |||
@@ -110,6 +110,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
110 | 110 | ||
111 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); | 111 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); |
112 | Assert.That(sp.ParentID, Is.EqualTo(part.LocalId)); | 112 | Assert.That(sp.ParentID, Is.EqualTo(part.LocalId)); |
113 | Assert.That(sp.PhysicsActor, Is.Null); | ||
113 | 114 | ||
114 | // FIXME: This is different for live avatars - z position is adjusted. This is half the height of the | 115 | // FIXME: This is different for live avatars - z position is adjusted. This is half the height of the |
115 | // default avatar. | 116 | // default avatar. |
@@ -123,6 +124,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
123 | 124 | ||
124 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); | 125 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); |
125 | Assert.That(sp.ParentID, Is.EqualTo(0)); | 126 | Assert.That(sp.ParentID, Is.EqualTo(0)); |
127 | Assert.That(sp.PhysicsActor, Is.Not.Null); | ||
126 | } | 128 | } |
127 | 129 | ||
128 | [Test] | 130 | [Test] |
@@ -147,11 +149,13 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
147 | Assert.That( | 149 | Assert.That( |
148 | sp.AbsolutePosition, | 150 | sp.AbsolutePosition, |
149 | Is.EqualTo(part.AbsolutePosition + part.SitTargetPosition + ScenePresence.SIT_TARGET_ADJUSTMENT)); | 151 | Is.EqualTo(part.AbsolutePosition + part.SitTargetPosition + ScenePresence.SIT_TARGET_ADJUSTMENT)); |
152 | Assert.That(sp.PhysicsActor, Is.Null); | ||
150 | 153 | ||
151 | sp.StandUp(); | 154 | sp.StandUp(); |
152 | 155 | ||
153 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); | 156 | Assert.That(part.SitTargetAvatar, Is.EqualTo(UUID.Zero)); |
154 | Assert.That(sp.ParentID, Is.EqualTo(0)); | 157 | Assert.That(sp.ParentID, Is.EqualTo(0)); |
158 | Assert.That(sp.PhysicsActor, Is.Not.Null); | ||
155 | } | 159 | } |
156 | 160 | ||
157 | [Test] | 161 | [Test] |