Mantis #7874: parcel properties not being updated upon avatar entering new parcel. Root cause: update of the avatar's current property was being made too soon.

This commit is contained in:
Diva Canto
2016-06-11 10:23:07 -07:00
parent 1468ee9179
commit 53d8b8a83f

View File

@@ -526,7 +526,6 @@ namespace OpenSim.Region.CoreModules.World.Land
ILandObject newover = GetLandObject(pos.X, pos.Y);
if(over != newover || avatar.currentParcelUUID != newover.LandData.GlobalID)
{
avatar.currentParcelUUID = newover.LandData.GlobalID;
m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar,
newover.LandData.LocalID, m_scene.RegionInfo.RegionID);
}