Added the SetPartText access method to SceneObjectGroup to set the text of member SceneObjectParts.
parent
7fbc3266df
commit
dc24317678
|
@ -112,7 +112,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
protected bool m_isSelected = false;
|
||||
public bool IsSelected
|
||||
{
|
||||
get{ return m_isSelected;}
|
||||
get { return m_isSelected; }
|
||||
set { m_isSelected = value; }
|
||||
}
|
||||
|
||||
|
@ -466,6 +466,24 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
}
|
||||
|
||||
public void SetPartText(string text, uint localID)
|
||||
{
|
||||
SceneObjectPart part = this.GetChildPrim(localID);
|
||||
if (part != null)
|
||||
{
|
||||
part.Text = text;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetPartText(string text, LLUUID partID)
|
||||
{
|
||||
SceneObjectPart part = this.GetChildPrim(partID);
|
||||
if (part != null)
|
||||
{
|
||||
part.Text = text;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
@ -740,13 +758,13 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
/// <param name="part"></param>
|
||||
internal void SendPartFullUpdate(IClientAPI remoteClient, SceneObjectPart part)
|
||||
{
|
||||
if( m_rootPart == part )
|
||||
if (m_rootPart == part)
|
||||
{
|
||||
part.SendFullUpdateToClient( remoteClient, Pos );
|
||||
part.SendFullUpdateToClient(remoteClient, Pos);
|
||||
}
|
||||
else
|
||||
{
|
||||
part.SendFullUpdateToClient( remoteClient );
|
||||
part.SendFullUpdateToClient(remoteClient);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue