diff options
author | Justin Clark-Casey (justincc) | 2014-01-08 00:54:39 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-08 00:54:39 +0000 |
commit | 0155d42b80ee7b35d0a882052d8cf4976e7d15de (patch) | |
tree | 9682aba4ce2a556695cb0535cacf481eebb5d297 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Add lsl arg syntax checking for control event (diff) | |
download | opensim-SC-0155d42b80ee7b35d0a882052d8cf4976e7d15de.zip opensim-SC-0155d42b80ee7b35d0a882052d8cf4976e7d15de.tar.gz opensim-SC-0155d42b80ee7b35d0a882052d8cf4976e7d15de.tar.bz2 opensim-SC-0155d42b80ee7b35d0a882052d8cf4976e7d15de.tar.xz |
If an agent is sitting, then do send the rotation in the agent update instead of zeroing it to resolve mouselook camera problems
Addresses http://opensimulator.org/mantis/view.php?id=6892
Thanks to tglion for this spot.
This resolves a recent regression from 17b32b764acd815400d9eb903aaec6dcebd60ac7
Diffstat (limited to '')
-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 7ed3a4b..49f70c4 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1640,6 +1640,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1640 | ControllingClient.SendAgentTerseUpdate(this); | 1640 | ControllingClient.SendAgentTerseUpdate(this); |
1641 | 1641 | ||
1642 | PhysicsActor actor = PhysicsActor; | 1642 | PhysicsActor actor = PhysicsActor; |
1643 | |||
1644 | // This will be the case if the agent is sitting on the groudn or on an object. | ||
1643 | if (actor == null) | 1645 | if (actor == null) |
1644 | { | 1646 | { |
1645 | SendControlsToScripts(flagsForScripts); | 1647 | SendControlsToScripts(flagsForScripts); |