mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Added Property to SceneObjectGroup to allow the UUID of the region it is in to be read.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user