minor: add method doc to make it clear that click action is fired when the click action is changed, not when a prim is clicked

bulletsim
Justin Clark-Casey (justincc) 2011-06-10 02:27:45 +01:00
parent 4cf60c5d9d
commit 2bc8dcfdbd
1 changed files with 10 additions and 1 deletions

View File

@ -1504,7 +1504,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
/// <summary> /// <summary>
/// /// Handle a prim description set request from a viewer.
/// </summary> /// </summary>
/// <param name="primLocalID"></param> /// <param name="primLocalID"></param>
/// <param name="description"></param> /// <param name="description"></param>
@ -1521,8 +1521,17 @@ namespace OpenSim.Region.Framework.Scenes
} }
} }
/// <summary>
/// Set a click action for the prim.
/// </summary>
/// <param name="remoteClient"></param>
/// <param name="primLocalID"></param>
/// <param name="clickAction"></param>
protected internal void PrimClickAction(IClientAPI remoteClient, uint primLocalID, string clickAction) protected internal void PrimClickAction(IClientAPI remoteClient, uint primLocalID, string clickAction)
{ {
// m_log.DebugFormat(
// "[SCENEGRAPH]: User {0} set click action for {1} to {2}", remoteClient.Name, primLocalID, clickAction);
SceneObjectGroup group = GetGroupByPrim(primLocalID); SceneObjectGroup group = GetGroupByPrim(primLocalID);
if (group != null) if (group != null)
{ {