make ParentUUID be a cached value, but allow setting it for
short term storage (needed to rebuild SOGs)0.6.0-stable
parent
d3190236cc
commit
44d0b7c724
|
@ -931,11 +931,20 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
get { return ParentGroup.Scene.RegionInfo.RegionID; }
|
||||
set {} // read only
|
||||
}
|
||||
|
||||
private LLUUID _parentUUID = LLUUID.Zero;
|
||||
[XmlIgnore]
|
||||
public LLUUID ParentUUID
|
||||
{
|
||||
get { return ParentGroup.UUID; }
|
||||
set {} // read only
|
||||
get
|
||||
{
|
||||
if (ParentGroup != null)
|
||||
{
|
||||
_parentUUID = ParentGroup.UUID;
|
||||
}
|
||||
return _parentUUID;
|
||||
}
|
||||
set { _parentUUID = value; }
|
||||
}
|
||||
|
||||
#endregion Public Properties with only Get
|
||||
|
|
Loading…
Reference in New Issue