add Name property to ISceneEntity
parent
1de68b34d9
commit
a90e1cf3aa
|
@ -31,6 +31,7 @@ namespace OpenSim.Framework
|
|||
{
|
||||
public interface ISceneEntity
|
||||
{
|
||||
string Name { get; set; }
|
||||
UUID UUID { get; }
|
||||
uint LocalId { get; }
|
||||
Vector3 AbsolutePosition { get; }
|
||||
|
|
|
@ -254,11 +254,14 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
/// </summary>
|
||||
public override string Name
|
||||
{
|
||||
get {
|
||||
get
|
||||
{
|
||||
if (RootPart == null)
|
||||
return String.Empty;
|
||||
else
|
||||
return RootPart.Name;
|
||||
}
|
||||
|
||||
set { RootPart.Name = value; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue