diff options
Fixes a bug in the ScenePresence test itself.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs index 2f2bc19..433b74a 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |||
@@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
213 | presence2.AbsolutePosition = new Vector3(-1, 3, 100); | 213 | presence2.AbsolutePosition = new Vector3(-1, 3, 100); |
214 | presence2.Update(); | 214 | presence2.Update(); |
215 | // Crossings are asynchronous | 215 | // Crossings are asynchronous |
216 | while (presence.IsInTransit) { }; | 216 | while (presence2.IsInTransit) { }; |
217 | 217 | ||
218 | Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected."); | 218 | Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected."); |
219 | Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again."); | 219 | Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again."); |