aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5087882..4504e18 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1415,8 +1415,9 @@ namespace OpenSim.Region.Framework.Scenes
1415 1415
1416 if (m_followCamAuto) 1416 if (m_followCamAuto)
1417 { 1417 {
1418 if (hitYN) 1418 if (hitYN && localid != LocalId)
1419 { 1419 {
1420
1420 CameraConstraintActive = true; 1421 CameraConstraintActive = true;
1421 //m_log.DebugFormat("[RAYCASTRESULT]: {0}, {1}, {2}, {3}", hitYN, collisionPoint, localid, distance); 1422 //m_log.DebugFormat("[RAYCASTRESULT]: {0}, {1}, {2}, {3}", hitYN, collisionPoint, localid, distance);
1422 1423
@@ -2282,7 +2283,6 @@ namespace OpenSim.Region.Framework.Scenes
2282 ControllingClient.SendAlertMessage(" Sit position on restricted land, try another spot"); 2283 ControllingClient.SendAlertMessage(" Sit position on restricted land, try another spot");
2283 return; 2284 return;
2284 } 2285 }
2285// m_log.InfoFormat("physsit {0} {1}", offset.ToString(),Orientation.ToString());
2286 2286
2287 RemoveFromPhysicalScene(); 2287 RemoveFromPhysicalScene();
2288 2288
@@ -2293,7 +2293,6 @@ namespace OpenSim.Region.Framework.Scenes
2293 2293
2294 part.AddSittingAvatar(UUID); 2294 part.AddSittingAvatar(UUID);
2295 2295
2296
2297 Vector3 cameraAtOffset = part.GetCameraAtOffset(); 2296 Vector3 cameraAtOffset = part.GetCameraAtOffset();
2298 Vector3 cameraEyeOffset = part.GetCameraEyeOffset(); 2297 Vector3 cameraEyeOffset = part.GetCameraEyeOffset();
2299 bool forceMouselook = part.GetForceMouselook(); 2298 bool forceMouselook = part.GetForceMouselook();