diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 7cc6d66..9c71492 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1552,9 +1552,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1552 | updated = true; | 1552 | updated = true; |
1553 | } | 1553 | } |
1554 | 1554 | ||
1555 | m_log.DebugFormat( | 1555 | // m_log.DebugFormat( |
1556 | "[SCENE PRESENCE]: bAllowUpdateMoveToPosition {0}, m_moveToPositionInProgress {1}, m_autopilotMoving {2}", | 1556 | // "[SCENE PRESENCE]: bAllowUpdateMoveToPosition {0}, m_moveToPositionInProgress {1}, m_autopilotMoving {2}", |
1557 | allowUpdate, m_moveToPositionInProgress, m_autopilotMoving); | 1557 | // allowUpdate, m_moveToPositionInProgress, m_autopilotMoving); |
1558 | 1558 | ||
1559 | if (allowUpdate && (m_moveToPositionInProgress && !m_autopilotMoving)) | 1559 | if (allowUpdate && (m_moveToPositionInProgress && !m_autopilotMoving)) |
1560 | { | 1560 | { |
@@ -1684,6 +1684,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1684 | 1684 | ||
1685 | m_moveToPositionInProgress = true; | 1685 | m_moveToPositionInProgress = true; |
1686 | m_moveToPositionTarget = pos; | 1686 | m_moveToPositionTarget = pos; |
1687 | |||
1688 | Vector3 agent_control_v3 = new Vector3(); | ||
1689 | DoMoveToPositionUpdate(ref agent_control_v3, Rotation, false, true); | ||
1690 | AddNewMovement(agent_control_v3, Rotation); | ||
1687 | } | 1691 | } |
1688 | 1692 | ||
1689 | private void CheckAtSitTarget() | 1693 | private void CheckAtSitTarget() |