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 17b32b764a
This commit is contained in:
Justin Clark-Casey (justincc)
2014-01-08 00:54:39 +00:00
parent 2f94165dcc
commit 0155d42b80
2 changed files with 19 additions and 8 deletions

View File

@@ -1640,6 +1640,8 @@ namespace OpenSim.Region.Framework.Scenes
ControllingClient.SendAgentTerseUpdate(this);
PhysicsActor actor = PhysicsActor;
// This will be the case if the agent is sitting on the groudn or on an object.
if (actor == null)
{
SendControlsToScripts(flagsForScripts);