diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 17da0d9..456c8cc 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1568,8 +1568,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1568 | // Here's where you get them. | 1568 | // Here's where you get them. |
1569 | m_AgentControlFlags = flags; | 1569 | m_AgentControlFlags = flags; |
1570 | m_headrotation = agentData.HeadRotation; | 1570 | m_headrotation = agentData.HeadRotation; |
1571 | byte oldState = State; | ||
1571 | State = agentData.State; | 1572 | State = agentData.State; |
1572 | 1573 | ||
1574 | // We need to send this back to the client in order to stop the edit beams | ||
1575 | if ((oldState & (uint)AgentState.Editing) != 0 && State == (uint)AgentState.None) | ||
1576 | ControllingClient.SendAgentTerseUpdate(this); | ||
1577 | |||
1578 | |||
1573 | PhysicsActor actor = PhysicsActor; | 1579 | PhysicsActor actor = PhysicsActor; |
1574 | if (actor == null) | 1580 | if (actor == null) |
1575 | { | 1581 | { |