couple of small event changes
parent
0f1604a53f
commit
be0aebcc9a
|
@ -92,7 +92,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
public event SceneGroupMoved OnSceneGroupMove;
|
public event SceneGroupMoved OnSceneGroupMove;
|
||||||
|
|
||||||
public delegate void SceneGroupGrabed(LLUUID groupID, LLVector3 offset);
|
public delegate void SceneGroupGrabed(LLUUID groupID, LLVector3 offset, LLUUID userID);
|
||||||
|
|
||||||
public event SceneGroupGrabed OnSceneGroupGrab;
|
public event SceneGroupGrabed OnSceneGroupGrab;
|
||||||
|
|
||||||
|
@ -198,11 +198,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset)
|
public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset, LLUUID userID)
|
||||||
{
|
{
|
||||||
if (OnSceneGroupGrab != null)
|
if (OnSceneGroupGrab != null)
|
||||||
{
|
{
|
||||||
OnSceneGroupGrab(groupID, offset);
|
OnSceneGroupGrab(groupID, offset, userID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1318,7 +1318,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
public virtual void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient)
|
public virtual void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient)
|
||||||
{
|
{
|
||||||
m_scene.EventManager.TriggerGroupGrab(this.UUID, offsetPos);
|
m_scene.EventManager.TriggerGroupGrab(this.UUID, offsetPos, remoteClient.AgentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteGroup()
|
public void DeleteGroup()
|
||||||
|
|
Loading…
Reference in New Issue