From ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e Mon Sep 17 00:00:00 2001 From: diva Date: Thu, 12 Feb 2009 23:38:41 +0000 Subject: Fixes a bug in the ScenePresence test itself. --- OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 presence2.AbsolutePosition = new Vector3(-1, 3, 100); presence2.Update(); // Crossings are asynchronous - while (presence.IsInTransit) { }; + while (presence2.IsInTransit) { }; Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected."); Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again."); -- cgit v1.1