Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.
parent
31a81e17be
commit
18d1031a88
|
@ -127,6 +127,16 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
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
|
||||
|
||||
#region Constructors
|
||||
|
|
Loading…
Reference in New Issue