Fixes a bug in the ScenePresence test itself.

0.6.3-post-fixes
diva 2009-02-12 23:38:41 +00:00
parent 7a274a7e1d
commit ad1e2e0b8b
1 changed files with 1 additions and 1 deletions

View File

@ -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.");