Merge branch 'master' of git://opensimulator.org/git/opensim

This commit is contained in:
Dan Lake
2011-11-10 14:09:53 -08:00
7 changed files with 58 additions and 33 deletions

View File

@@ -2899,7 +2899,7 @@ namespace OpenSim.Region.Framework.Scenes
}
/// <summary>
/// Update the entire rotation of the group.
/// Update the rotation of just the root prim of a linkset.
/// </summary>
/// <param name="rot"></param>
public void UpdateRootRotation(Quaternion rot)

View File

@@ -2013,8 +2013,6 @@ namespace OpenSim.Region.Framework.Scenes
sitOrientation = avSitOrientation;
autopilot = false;
}
part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
pos = part.AbsolutePosition + offset;
//if (Math.Abs(part.AbsolutePosition.Z - AbsolutePosition.Z) > 1)
//{
@@ -2060,6 +2058,12 @@ namespace OpenSim.Region.Framework.Scenes
m_sitAtAutoTarget = autopilot;
if (!autopilot)
HandleAgentSit(remoteClient, UUID);
// Moved here to avoid a race with default sit anim
// The script event needs to be raised after the default sit anim is set.
if (part != null)
part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
}
// public void HandleAgentRequestSit(IClientAPI remoteClient, UUID agentID, UUID targetID, Vector3 offset, string sitAnimation)