Merge branch 'master' into varregion

This commit is contained in:
Robert Adams
2013-12-05 21:07:44 -08:00
7 changed files with 40 additions and 18 deletions

View File

@@ -1645,12 +1645,13 @@ namespace OpenSim.Region.Framework.Scenes
if (AllowMovement && !SitGround)
{
Quaternion bodyRotation = agentData.BodyRotation;
// m_log.DebugFormat("[SCENE PRESENCE]: Initial body rotation {0} for {1}", agentData.BodyRotation, Name);
bool update_rotation = false;
if (bodyRotation != Rotation)
if (agentData.BodyRotation != Rotation)
{
Rotation = bodyRotation;
Rotation = agentData.BodyRotation;
update_rotation = true;
}