Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.

afrisby
MW 2007-08-20 16:07:37 +00:00
parent 31a81e17be
commit 18d1031a88
1 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,16 @@ namespace OpenSim.Region.Environment.Scenes
set { m_isSelected = value; } set { m_isSelected = value; }
} }
// The UUID for the Region this Object is in.
public LLUUID RegionUUID
{
get
{
if (m_scene != null)
{ return m_scene.RegionInfo.SimUUID; }
return LLUUID.Zero;
}
}
#endregion #endregion
#region Constructors #region Constructors