aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 12a4712..7a30684 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1745,6 +1745,12 @@ namespace OpenSim.Region.Framework.Scenes
1745 1745
1746 MovingToTarget = false; 1746 MovingToTarget = false;
1747 MoveToPositionTarget = Vector3.Zero; 1747 MoveToPositionTarget = Vector3.Zero;
1748
1749 // We need to reset the control flag as the ScenePresenceAnimator uses this to determine the correct
1750 // resting animation (e.g. hover or stand). NPCs don't have a client that will quickly reset this flag.
1751 // However, the line is here rather than in the NPC module since it also appears necessary to stop a
1752 // viewer that uses "go here" from juddering on all subsequent avatar movements.
1753 AgentControlFlags = (uint)AgentManager.ControlFlags.NONE;
1748 } 1754 }
1749 1755
1750 private void CheckAtSitTarget() 1756 private void CheckAtSitTarget()