aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMike Mazur2008-09-10 00:19:36 +0000
committerMike Mazur2008-09-10 00:19:36 +0000
commite0d092ec537a7187d3b5a367f27b834fccad778d (patch)
treef6a46a6ec66d6d7713d5a35836299b0a9561ba42 /OpenSim/Region/ClientStack/LindenUDP
parent* Fixes Sqlite crash bug when saving a prim. (diff)
downloadopensim-SC_OLD-e0d092ec537a7187d3b5a367f27b834fccad778d.zip
opensim-SC_OLD-e0d092ec537a7187d3b5a367f27b834fccad778d.tar.gz
opensim-SC_OLD-e0d092ec537a7187d3b5a367f27b834fccad778d.tar.bz2
opensim-SC_OLD-e0d092ec537a7187d3b5a367f27b834fccad778d.tar.xz
Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
object property. Fix issue 2149.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs14
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