diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 67f6c29..7db9c07 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -98,7 +98,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
98 | 98 | ||
99 | private bool m_startAnimationSet = false; | 99 | private bool m_startAnimationSet = false; |
100 | 100 | ||
101 | private Vector3 m_requestedSitOffset = new Vector3(); | 101 | //private Vector3 m_requestedSitOffset = new Vector3(); |
102 | 102 | ||
103 | private Vector3 m_LastFinitePos = new Vector3(); | 103 | private Vector3 m_LastFinitePos = new Vector3(); |
104 | 104 | ||
@@ -1663,7 +1663,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1663 | m_nextSitAnimation = part.SitAnimation; | 1663 | m_nextSitAnimation = part.SitAnimation; |
1664 | } | 1664 | } |
1665 | m_requestedSitTargetID = part.LocalId; | 1665 | m_requestedSitTargetID = part.LocalId; |
1666 | m_requestedSitOffset = offset; | 1666 | //m_requestedSitOffset = offset; |
1667 | } | 1667 | } |
1668 | else | 1668 | else |
1669 | { | 1669 | { |
@@ -1693,12 +1693,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
1693 | if (part != null) | 1693 | if (part != null) |
1694 | { | 1694 | { |
1695 | m_requestedSitTargetID = part.LocalId; | 1695 | m_requestedSitTargetID = part.LocalId; |
1696 | m_requestedSitOffset = offset; | 1696 | //m_requestedSitOffset = offset; |
1697 | } | 1697 | } |
1698 | else | 1698 | else |
1699 | { | 1699 | { |
1700 | m_log.Warn("Sit requested on unknown object: " + targetID.ToString()); | 1700 | m_log.Warn("Sit requested on unknown object: " + targetID.ToString()); |
1701 | } | 1701 | } |
1702 | |||
1702 | SendSitResponse(remoteClient, targetID, offset); | 1703 | SendSitResponse(remoteClient, targetID, offset); |
1703 | } | 1704 | } |
1704 | 1705 | ||