diff options
author | Melanie Thielker | 2008-10-04 01:09:22 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-04 01:09:22 +0000 |
commit | 74f89fb22da159a940e942192d0cb59163e78987 (patch) | |
tree | d7fc5ace338e6e07c6b6785a5fb4ee308a08bcec /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Add the missing bits for the new region-search: (diff) | |
download | opensim-SC_OLD-74f89fb22da159a940e942192d0cb59163e78987.zip opensim-SC_OLD-74f89fb22da159a940e942192d0cb59163e78987.tar.gz opensim-SC_OLD-74f89fb22da159a940e942192d0cb59163e78987.tar.bz2 opensim-SC_OLD-74f89fb22da159a940e942192d0cb59163e78987.tar.xz |
Add "Drop" functionality to pie menu
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 5aa0f2e..e3efb42 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -242,6 +242,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
242 | private ObjectBuy handlerObjectBuy = null; | 242 | private ObjectBuy handlerObjectBuy = null; |
243 | //private BuyObjectInventory handlerBuyObjectInventory = null; | 243 | //private BuyObjectInventory handlerBuyObjectInventory = null; |
244 | private ObjectDeselect handlerObjectDetach = null; | 244 | private ObjectDeselect handlerObjectDetach = null; |
245 | private ObjectDrop handlerObjectDrop = null; | ||
245 | private AgentSit handlerOnUndo = null; | 246 | private AgentSit handlerOnUndo = null; |
246 | 247 | ||
247 | private ForceReleaseControls handlerForceReleaseControls = null; | 248 | private ForceReleaseControls handlerForceReleaseControls = null; |
@@ -848,6 +849,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
848 | public event UUIDNameRequest OnDetachAttachmentIntoInv; | 849 | public event UUIDNameRequest OnDetachAttachmentIntoInv; |
849 | public event ObjectAttach OnObjectAttach; | 850 | public event ObjectAttach OnObjectAttach; |
850 | public event ObjectDeselect OnObjectDetach; | 851 | public event ObjectDeselect OnObjectDetach; |
852 | public event ObjectDrop OnObjectDrop; | ||
851 | public event GenericCall2 OnCompleteMovementToRegion; | 853 | public event GenericCall2 OnCompleteMovementToRegion; |
852 | public event UpdateAgent OnAgentUpdate; | 854 | public event UpdateAgent OnAgentUpdate; |
853 | public event AgentRequestSit OnAgentRequestSit; | 855 | public event AgentRequestSit OnAgentRequestSit; |
@@ -4296,6 +4298,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4296 | } | 4298 | } |
4297 | 4299 | ||
4298 | break; | 4300 | break; |
4301 | case PacketType.ObjectDrop: | ||
4302 | ObjectDropPacket dropp = (ObjectDropPacket)Pack; | ||
4303 | for (int j = 0; j < dropp.ObjectData.Length; j++) | ||
4304 | { | ||
4305 | uint obj = dropp.ObjectData[j].ObjectLocalID; | ||
4306 | handlerObjectDrop = OnObjectDrop; | ||
4307 | if (handlerObjectDrop != null) | ||
4308 | { | ||
4309 | handlerObjectDrop(obj, this); | ||
4310 | } | ||
4311 | } | ||
4312 | break; | ||
4299 | case PacketType.SetAlwaysRun: | 4313 | case PacketType.SetAlwaysRun: |
4300 | SetAlwaysRunPacket run = (SetAlwaysRunPacket)Pack; | 4314 | SetAlwaysRunPacket run = (SetAlwaysRunPacket)Pack; |
4301 | 4315 | ||