diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e8e674f..e58549a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3187,8 +3187,23 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3187 | updatePacket.ParcelData.UserLocation = landData.UserLocation; | 3187 | updatePacket.ParcelData.UserLocation = landData.UserLocation; |
3188 | updatePacket.ParcelData.UserLookAt = landData.UserLookAt; | 3188 | updatePacket.ParcelData.UserLookAt = landData.UserLookAt; |
3189 | updatePacket.Header.Zerocoded = true; | 3189 | updatePacket.Header.Zerocoded = true; |
3190 | 3190 | ||
3191 | OutPacket(updatePacket, ThrottleOutPacketType.Task); | 3191 | try |
3192 | { | ||
3193 | IEventQueue eq = Scene.RequestModuleInterface<IEventQueue>(); | ||
3194 | if (eq != null) | ||
3195 | { | ||
3196 | OSD Item = Environment.EventQueueHelper.ParcelProperties(updatePacket); | ||
3197 | |||
3198 | eq.Enqueue(Item, this.AgentId); | ||
3199 | } | ||
3200 | } | ||
3201 | catch (Exception ex) | ||
3202 | { | ||
3203 | m_log.Error("Unable to send parcel data via eventqueue - exception: " + ex.ToString()); | ||
3204 | m_log.Warn("sending parcel data via UDP"); | ||
3205 | OutPacket(updatePacket, ThrottleOutPacketType.Task); | ||
3206 | } | ||
3192 | } | 3207 | } |
3193 | 3208 | ||
3194 | public void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID) | 3209 | public void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID) |