diff options
author | diva | 2009-02-12 23:38:41 +0000 |
---|---|---|
committer | diva | 2009-02-12 23:38:41 +0000 |
commit | ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e (patch) | |
tree | 0386dfa7cb3ea81a74336b8b99bba9f609294f07 /OpenSim/Region/Framework/Scenes | |
parent | Makes region crossings asynchronous. Moved the bulk of the original code out ... (diff) | |
download | opensim-SC-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.zip opensim-SC-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.gz opensim-SC-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.bz2 opensim-SC-ad1e2e0b8b0bca7eafaa6a0ae4281c44944b372e.tar.xz |
Fixes a bug in the ScenePresence test itself.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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."); |