* minor: override the name of the sog such that it gets/sets the root part name
parent
7b4991430b
commit
3a111650cb
|
@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
protected string m_name;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// The name of this entity
|
||||
/// </summary>
|
||||
public virtual string Name
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue