diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index b694f19ac8..63ec23c41e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -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