aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index cd5525c..6390d26 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1198,9 +1198,6 @@ no information to check this
1198 } 1198 }
1199 AbsolutePosition = pos; 1199 AbsolutePosition = pos;
1200 1200
1201 // reset camera to avatar pos
1202 CameraPosition = pos;
1203
1204 if (m_teleportFlags == TeleportFlags.Default) 1201 if (m_teleportFlags == TeleportFlags.Default)
1205 { 1202 {
1206 Vector3 vel = Velocity; 1203 Vector3 vel = Velocity;
@@ -1209,8 +1206,11 @@ no information to check this
1209 PhysicsActor.SetMomentum(vel); 1206 PhysicsActor.SetMomentum(vel);
1210 } 1207 }
1211 else 1208 else
1209 {
1212 AddToPhysicalScene(isFlying); 1210 AddToPhysicalScene(isFlying);
1213 1211 // reset camera to avatar pos
1212 CameraPosition = pos;
1213 }
1214 1214
1215 if (ForceFly) 1215 if (ForceFly)
1216 { 1216 {