let us see our online friends
parent
028cbb7cbe
commit
f97807b53f
|
@ -2025,8 +2025,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (!IsChildAgent && openChildAgents)
|
||||
{
|
||||
IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>();
|
||||
// if (friendsModule != null)
|
||||
// friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
|
||||
if (friendsModule != null)
|
||||
friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
|
||||
|
||||
m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts));
|
||||
|
||||
|
@ -2882,7 +2882,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
if (satOnObject)
|
||||
{
|
||||
|
||||
m_requestedSitTargetID = 0;
|
||||
part.RemoveSittingAvatar(this);
|
||||
part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK);
|
||||
|
@ -3011,7 +3010,6 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
ControllingClient.SendSitResponse(
|
||||
part.ParentGroup.UUID, offset, sitOrientation, false, cameraAtOffset, cameraEyeOffset, forceMouselook);
|
||||
|
||||
|
@ -3262,12 +3260,14 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
|
||||
part.AddSittingAvatar(this);
|
||||
ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID);
|
||||
ParentPart = part;
|
||||
ParentID = m_requestedSitTargetID;
|
||||
m_AngularVelocity = Vector3.Zero;
|
||||
Velocity = Vector3.Zero;
|
||||
RemoveFromPhysicalScene();
|
||||
|
||||
m_requestedSitTargetID = 0;
|
||||
|
||||
SendAvatarDataToAllAgents();
|
||||
|
||||
sitAnimation = "SIT";
|
||||
|
|
Loading…
Reference in New Issue