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; }
|
get { return ParentGroup.Scene.RegionInfo.RegionID; }
|
||||||
set {} // read only
|
set {} // read only
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private LLUUID _parentUUID = LLUUID.Zero;
|
||||||
[XmlIgnore]
|
[XmlIgnore]
|
||||||
public LLUUID ParentUUID
|
public LLUUID ParentUUID
|
||||||
{
|
{
|
||||||
get { return ParentGroup.UUID; }
|
get
|
||||||
set {} // read only
|
{
|
||||||
|
if (ParentGroup != null)
|
||||||
|
{
|
||||||
|
_parentUUID = ParentGroup.UUID;
|
||||||
|
}
|
||||||
|
return _parentUUID;
|
||||||
|
}
|
||||||
|
set { _parentUUID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Public Properties with only Get
|
#endregion Public Properties with only Get
|
||||||
|
|
Loading…
Reference in New Issue