Fixes a bug in the ScenePresence test itself.
parent
7a274a7e1d
commit
ad1e2e0b8b
|
@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
presence2.AbsolutePosition = new Vector3(-1, 3, 100);
|
presence2.AbsolutePosition = new Vector3(-1, 3, 100);
|
||||||
presence2.Update();
|
presence2.Update();
|
||||||
// Crossings are asynchronous
|
// Crossings are asynchronous
|
||||||
while (presence.IsInTransit) { };
|
while (presence2.IsInTransit) { };
|
||||||
|
|
||||||
Assert.That(presence2.IsChildAgent, Is.True, "Did not return from region as expected.");
|
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.");
|
Assert.That(presence.IsChildAgent, Is.False, "Presence was not made root in old region again.");
|
||||||
|
|
Loading…
Reference in New Issue