aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-11 19:59:12 +0000
committerJustin Clark-Casey (justincc)2011-11-11 19:59:12 +0000
commita658bddbcd03a12d55f51368248ec86d0d9d61e1 (patch)
tree89fc06a970966e8a95c666e63a5b9fbb3e678e02 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentupdate minimum mono version (diff)
downloadopensim-SC-a658bddbcd03a12d55f51368248ec86d0d9d61e1.zip
opensim-SC-a658bddbcd03a12d55f51368248ec86d0d9d61e1.tar.gz
opensim-SC-a658bddbcd03a12d55f51368248ec86d0d9d61e1.tar.bz2
opensim-SC-a658bddbcd03a12d55f51368248ec86d0d9d61e1.tar.xz
Bump warp sit distance up to 10 meters, as discussed on opensim-dev mailing list last week.
This means that if the avatar is within 10 meters of the selected target, it sits on it immediately without walking. Existing autopilot outside this range will be disabled in a later commit
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index fdf944b..e098c62 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2034,7 +2034,7 @@ namespace OpenSim.Region.Framework.Scenes
2034 2034
2035 if (autopilot) 2035 if (autopilot)
2036 { 2036 {
2037 if (Util.GetDistanceTo(AbsolutePosition, pos) < 4.5) 2037 if (Util.GetDistanceTo(AbsolutePosition, pos) <= 10)
2038 { 2038 {
2039 autopilot = false; 2039 autopilot = false;
2040 2040