aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-09-03 00:25:56 +0100
committerJustin Clark-Casey (justincc)2014-09-03 00:25:56 +0100
commitac866a1c46583e50e74aefad0a1bc6de720a7211 (patch)
tree554751e686dec32987c229022c07ae09de1a9f28 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentFix recent regression from 473c5594 where camera started to judder on moving ... (diff)
downloadopensim-SC_OLD-ac866a1c46583e50e74aefad0a1bc6de720a7211.zip
opensim-SC_OLD-ac866a1c46583e50e74aefad0a1bc6de720a7211.tar.gz
opensim-SC_OLD-ac866a1c46583e50e74aefad0a1bc6de720a7211.tar.bz2
opensim-SC_OLD-ac866a1c46583e50e74aefad0a1bc6de720a7211.tar.xz
Add [EntityTransfer] AllowAvatarCrossing setting to determine whether avatars are allowed to cross regions at all.
Defaults to true. For test purposes.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f2a636a..3c37de8 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3226,7 +3226,8 @@ namespace OpenSim.Region.Framework.Scenes
3226 m_lastVelocity = Velocity; 3226 m_lastVelocity = Velocity;
3227 } 3227 }
3228 3228
3229 CheckForBorderCrossing(); 3229 if (Scene.AllowAvatarCrossing)
3230 CheckForBorderCrossing();
3230 3231
3231 CheckForSignificantMovement(); // sends update to the modules. 3232 CheckForSignificantMovement(); // sends update to the modules.
3232 } 3233 }