mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user