* minor: override the name of the sog such that it gets/sets the root part name

0.6.0-stable
Justin Clarke Casey 2008-06-21 18:11:45 +00:00
parent 7b4991430b
commit 3a111650cb
2 changed files with 10 additions and 1 deletions

View File

@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Scenes
protected string m_name;
/// <summary>
///
/// The name of this entity
/// </summary>
public virtual string Name
{

View File

@ -116,6 +116,15 @@ namespace OpenSim.Region.Environment.Scenes
private int m_startparameter = 0;
#region Properties
/// <summary>
/// The name of an object grouping is always the same as its root part
/// </summary>
public override string Name
{
get { return RootPart.Name; }
set { RootPart.Name = value; }
}
/// <summary>
/// Added because the Parcel code seems to use it