* 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
|
||||
{
|
||||
|
|
|
@ -117,6 +117,15 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
#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
|
||||
/// but not sure a object should have this
|
||||
|
|
Loading…
Reference in New Issue