aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2018-01-05 00:30:00 +0000
committerUbitUmarov2018-01-05 00:30:00 +0000
commit0b96cd56fc74de6508ac3d858dec5e5726bea80f (patch)
tree115b820b68541dda8f2ac52a8c9439ede685cf2f /OpenSim/Region
parentlet tau do something in avatar MoveToTarget (diff)
downloadopensim-SC_OLD-0b96cd56fc74de6508ac3d858dec5e5726bea80f.zip
opensim-SC_OLD-0b96cd56fc74de6508ac3d858dec5e5726bea80f.tar.gz
opensim-SC_OLD-0b96cd56fc74de6508ac3d858dec5e5726bea80f.tar.bz2
opensim-SC_OLD-0b96cd56fc74de6508ac3d858dec5e5726bea80f.tar.xz
don't be bad Jenkins..
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs
index e5c847e..90c5197 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs
@@ -97,7 +97,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
97 Assert.That(sp.AbsolutePosition.Z, Is.EqualTo(startPos.Z)); 97 Assert.That(sp.AbsolutePosition.Z, Is.EqualTo(startPos.Z));
98 Assert.That(sp.AbsolutePosition.Z, Is.LessThan(targetPos.X)); 98 Assert.That(sp.AbsolutePosition.Z, Is.LessThan(targetPos.X));
99 99
100 m_scene.Update(10); 100 m_scene.Update(50);
101 101
102 double distanceToTarget = Util.GetDistanceTo(sp.AbsolutePosition, targetPos); 102 double distanceToTarget = Util.GetDistanceTo(sp.AbsolutePosition, targetPos);
103 Assert.That(distanceToTarget, Is.LessThan(1), "Avatar not within 1 unit of target position on first move"); 103 Assert.That(distanceToTarget, Is.LessThan(1), "Avatar not within 1 unit of target position on first move");
@@ -121,7 +121,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
121 Assert.That(sp.AbsolutePosition.Y, Is.EqualTo(startPos.Y)); 121 Assert.That(sp.AbsolutePosition.Y, Is.EqualTo(startPos.Y));
122 Assert.That(sp.AbsolutePosition.Z, Is.EqualTo(startPos.Z)); 122 Assert.That(sp.AbsolutePosition.Z, Is.EqualTo(startPos.Z));
123 123
124 m_scene.Update(10); 124 m_scene.Update(50);
125 125
126 distanceToTarget = Util.GetDistanceTo(sp.AbsolutePosition, targetPos); 126 distanceToTarget = Util.GetDistanceTo(sp.AbsolutePosition, targetPos);
127 Assert.That(distanceToTarget, Is.LessThan(1), "Avatar not within 1 unit of target position on second move"); 127 Assert.That(distanceToTarget, Is.LessThan(1), "Avatar not within 1 unit of target position on second move");