diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index cf98ef2..5e80f5a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1902,6 +1902,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1902 | ControllingClient.SendAgentTerseUpdate(this); | 1902 | ControllingClient.SendAgentTerseUpdate(this); |
1903 | 1903 | ||
1904 | PhysicsActor actor = PhysicsActor; | 1904 | PhysicsActor actor = PhysicsActor; |
1905 | |||
1906 | // This will be the case if the agent is sitting on the groudn or on an object. | ||
1905 | if (actor == null) | 1907 | if (actor == null) |
1906 | { | 1908 | { |
1907 | SendControlsToScripts(flagsForScripts); | 1909 | SendControlsToScripts(flagsForScripts); |