diff options
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 f778557..ffd7001 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4772,6 +4772,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4772 | } | 4772 | } |
4773 | break; | 4773 | break; |
4774 | 4774 | ||
4775 | case PacketType.ObjectClickAction: | ||
4776 | ObjectClickActionPacket ocpacket = (ObjectClickActionPacket)Pack; | ||
4777 | Scene tScene = (Scene)m_scene; | ||
4778 | |||
4779 | foreach (ObjectClickActionPacket.ObjectDataBlock odata in ocpacket.ObjectData) | ||
4780 | { | ||
4781 | byte action = odata.ClickAction; | ||
4782 | uint localId = odata.ObjectLocalID; | ||
4783 | SceneObjectPart part = tScene.GetSceneObjectPart(localId); | ||
4784 | part.ClickAction = action; | ||
4785 | } | ||
4786 | |||
4787 | break; | ||
4788 | |||
4775 | #endregion | 4789 | #endregion |
4776 | 4790 | ||
4777 | #region Inventory/Asset/Other related packets | 4791 | #region Inventory/Asset/Other related packets |