diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f7ae3a2..f3b923f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -925,6 +925,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
925 | 925 | ||
926 | AddToPhysicalScene(isFlying); | 926 | AddToPhysicalScene(isFlying); |
927 | 927 | ||
928 | // XXX: This is to trigger any secondary teleport needed for a megaregion when the user has teleported to a | ||
929 | // location outside the 'root region' (the south-west 256x256 corner). This is the earlist we can do it | ||
930 | // since it requires a physics actor to be present. If it is left any later, then physics appears to reset | ||
931 | // the value to a negative position which does not trigger the border cross. | ||
932 | // This may not be the best location for this. | ||
933 | CheckForBorderCrossing(); | ||
934 | |||
928 | if (ForceFly) | 935 | if (ForceFly) |
929 | { | 936 | { |
930 | Flying = true; | 937 | Flying = true; |