From 86669a1664310d16da0cbb8f3a8e034464f16d3a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 7 May 2008 19:41:03 +0000 Subject: * Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 28f8364..8078491 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -240,6 +240,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private ObjectDeselect handlerObjectDetach = null; private AgentSit handlerOnUndo = null; + private ForceReleaseControls handlerForceReleaseControls = null; + /* Properties */ public LLUUID SecureSessionId @@ -802,6 +804,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP public event RequestPayPrice OnRequestPayPrice; public event AgentSit OnUndo; + public event ForceReleaseControls OnForceReleaseControls; + public event DetailedEstateDataRequest OnDetailedEstateDataRequest; public event SetEstateFlagsRequest OnSetEstateFlagsRequest; public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture; @@ -4004,6 +4008,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP break; + case PacketType.ForceScriptControlRelease: + handlerForceReleaseControls = OnForceReleaseControls; + if (handlerForceReleaseControls != null) + { + handlerForceReleaseControls(this, AgentId); + } + break; + #endregion #region Objects/m_sceneObjects -- cgit v1.1