*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

@ -726,11 +726,16 @@ namespace OpenSim.Region.Environment.LandManagement
if (over != null) if (over != null)
{ {
if (force) if (force)
{
if (!avatar.IsChildAgent)
{ {
over.sendLandUpdateToClient(avatar.ControllingClient); over.sendLandUpdateToClient(avatar.ControllingClient);
} }
}
if (avatar.currentParcelUUID != over.landData.globalID) if (avatar.currentParcelUUID != over.landData.globalID)
{
if (!avatar.IsChildAgent)
{ {
over.sendLandUpdateToClient(avatar.ControllingClient); over.sendLandUpdateToClient(avatar.ControllingClient);
avatar.currentParcelUUID = over.landData.globalID; avatar.currentParcelUUID = over.landData.globalID;
@ -739,6 +744,7 @@ namespace OpenSim.Region.Environment.LandManagement
} }
} }
} }
}
public void sendLandUpdate(ScenePresence avatar) public void sendLandUpdate(ScenePresence avatar)
{ {
sendLandUpdate(avatar, false); sendLandUpdate(avatar, false);