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.
parent
1468ee9179
commit
53d8b8a83f
|
@ -526,7 +526,6 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
ILandObject newover = GetLandObject(pos.X, pos.Y);
|
ILandObject newover = GetLandObject(pos.X, pos.Y);
|
||||||
if(over != newover || avatar.currentParcelUUID != newover.LandData.GlobalID)
|
if(over != newover || avatar.currentParcelUUID != newover.LandData.GlobalID)
|
||||||
{
|
{
|
||||||
avatar.currentParcelUUID = newover.LandData.GlobalID;
|
|
||||||
m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar,
|
m_scene.EventManager.TriggerAvatarEnteringNewParcel(avatar,
|
||||||
newover.LandData.LocalID, m_scene.RegionInfo.RegionID);
|
newover.LandData.LocalID, m_scene.RegionInfo.RegionID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue