aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs16
1 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 9005acd..8cb4921 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -994,22 +994,6 @@ namespace OpenSim.Region.Framework.Scenes
994 994
995 bool isFlying = Flying; 995 bool isFlying = Flying;
996 RemoveFromPhysicalScene(); 996 RemoveFromPhysicalScene();
997 Velocity = Vector3.Zero;
998 CheckLandingPoint(ref pos);
999 AbsolutePosition = pos;
1000 AddToPhysicalScene(isFlying);
1001
1002 SendTerseUpdateToAllClients();
1003 }
1004
1005 public void TeleportWithMomentum(Vector3 pos)
1006 {
1007// m_log.DebugFormat(
1008// "[SCENE PRESENCE]: Moving {0} to {1} with existing momentum {2} in {3} ",
1009// Name, pos, Velocity, Scene.RegionInfo.RegionName);
1010
1011 bool isFlying = Flying;
1012 RemoveFromPhysicalScene();
1013 CheckLandingPoint(ref pos); 997 CheckLandingPoint(ref pos);
1014 AbsolutePosition = pos; 998 AbsolutePosition = pos;
1015 AddToPhysicalScene(isFlying); 999 AddToPhysicalScene(isFlying);