aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-01-08 00:54:39 +0000
committerJustin Clark-Casey (justincc)2014-01-08 00:54:39 +0000
commit0155d42b80ee7b35d0a882052d8cf4976e7d15de (patch)
tree9682aba4ce2a556695cb0535cacf481eebb5d297 /OpenSim/Region/Framework
parentAdd lsl arg syntax checking for control event (diff)
downloadopensim-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.cs2
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);