* minor: override the name of the sog such that it gets/sets the root part name
parent
7b4991430b
commit
3a111650cb
OpenSim/Region/Environment/Scenes
|
@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
protected string m_name;
|
protected string m_name;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
/// The name of this entity
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual string Name
|
public virtual string Name
|
||||||
{
|
{
|
||||||
|
|
|
@ -117,6 +117,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
#region Properties
|
#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>
|
/// <summary>
|
||||||
/// Added because the Parcel code seems to use it
|
/// Added because the Parcel code seems to use it
|
||||||
/// but not sure a object should have this
|
/// but not sure a object should have this
|
||||||
|
|
Loading…
Reference in New Issue