*Neb try this update. It might fix it.. it might also cause no parcel to be sent.

ThreadPoolClientBranch
Teravus Ovares 2008-02-09 22:05:00 +00:00
parent 0b0bb28fd5
commit d2e66872ed
1 changed files with 11 additions and 5 deletions

View File

@ -727,15 +727,21 @@ namespace OpenSim.Region.Environment.LandManagement
{
if (force)
{
over.sendLandUpdateToClient(avatar.ControllingClient);
if (!avatar.IsChildAgent)
{
over.sendLandUpdateToClient(avatar.ControllingClient);
}
}
if (avatar.currentParcelUUID != over.landData.globalID)
{
over.sendLandUpdateToClient(avatar.ControllingClient);
avatar.currentParcelUUID = over.landData.globalID;
m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar, over.landData.localID,
m_scene.RegionInfo.RegionID);
if (!avatar.IsChildAgent)
{
over.sendLandUpdateToClient(avatar.ControllingClient);
avatar.currentParcelUUID = over.landData.globalID;
m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar, over.landData.localID,
m_scene.RegionInfo.RegionID);
}
}
}
}