diff options
author | Dahlia Trimble | 2009-01-26 10:42:24 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-01-26 10:42:24 +0000 |
commit | 4dace036966a45d964f16842979e5612231ed1a1 (patch) | |
tree | 6e6d3847d9792f355f0c9f8019c12bc1a9dcea1c /OpenSim/Region/ClientStack | |
parent | ~ cleaning up code base: dropping share/python (diff) | |
download | opensim-SC_OLD-4dace036966a45d964f16842979e5612231ed1a1.zip opensim-SC_OLD-4dace036966a45d964f16842979e5612231ed1a1.tar.gz opensim-SC_OLD-4dace036966a45d964f16842979e5612231ed1a1.tar.bz2 opensim-SC_OLD-4dace036966a45d964f16842979e5612231ed1a1.tar.xz |
add a definition for a parcel properties CAP
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
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) |