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.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index c644ea5..a8c98ed 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1857,10 +1857,8 @@ namespace OpenSim.Region.Framework.Scenes
1857 return targetPart; 1857 return targetPart;
1858 } 1858 }
1859 1859
1860 private void SendSitResponse(UUID targetID, Vector3 offset, Quaternion pSitOrientation) 1860 private void SendSitResponse(UUID targetID, Vector3 offset, Quaternion sitOrientation)
1861 { 1861 {
1862 Vector3 pos = new Vector3();
1863 Quaternion sitOrientation = pSitOrientation;
1864 Vector3 cameraEyeOffset = Vector3.Zero; 1862 Vector3 cameraEyeOffset = Vector3.Zero;
1865 Vector3 cameraAtOffset = Vector3.Zero; 1863 Vector3 cameraAtOffset = Vector3.Zero;
1866 bool forceMouselook = false; 1864 bool forceMouselook = false;
@@ -1876,7 +1874,7 @@ namespace OpenSim.Region.Framework.Scenes
1876 m_sitAvatarHeight = PhysicsActor.Size.Z; 1874 m_sitAvatarHeight = PhysicsActor.Size.Z;
1877 1875
1878 bool canSit = false; 1876 bool canSit = false;
1879 pos = part.AbsolutePosition + offset; 1877 Vector3 pos = part.AbsolutePosition + offset;
1880 1878
1881 if (part.IsSitTargetSet) 1879 if (part.IsSitTargetSet)
1882 { 1880 {