add Name property to ISceneEntity

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-08-30 22:39:16 +01:00
parent 1de68b34d9
commit a90e1cf3aa
2 changed files with 6 additions and 2 deletions

View File

@ -31,6 +31,7 @@ namespace OpenSim.Framework
{
public interface ISceneEntity
{
string Name { get; set; }
UUID UUID { get; }
uint LocalId { get; }
Vector3 AbsolutePosition { get; }

View File

@ -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; }
}