mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
add a definition for a parcel properties CAP
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
This commit is contained in:
@@ -3187,8 +3187,23 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
updatePacket.ParcelData.UserLocation = landData.UserLocation;
|
||||
updatePacket.ParcelData.UserLookAt = landData.UserLookAt;
|
||||
updatePacket.Header.Zerocoded = true;
|
||||
|
||||
OutPacket(updatePacket, ThrottleOutPacketType.Task);
|
||||
|
||||
try
|
||||
{
|
||||
IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>();
|
||||
if (eq != null)
|
||||
{
|
||||
OSD Item = Environment.EventQueueHelper.ParcelProperties(updatePacket);
|
||||
|
||||
eq.Enqueue(Item, this.AgentId);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
m_log.Error("Unable to send parcel data via eventqueue - exception: " + ex.ToString());
|
||||
m_log.Warn("sending parcel data via UDP");
|
||||
OutPacket(updatePacket, ThrottleOutPacketType.Task);
|
||||
}
|
||||
}
|
||||
|
||||
public void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID)
|
||||
|
||||
Reference in New Issue
Block a user