diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index b694f19..63ec23c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -931,11 +931,20 @@ namespace OpenSim.Region.Environment.Scenes | |||
931 | get { return ParentGroup.Scene.RegionInfo.RegionID; } | 931 | get { return ParentGroup.Scene.RegionInfo.RegionID; } |
932 | set {} // read only | 932 | set {} // read only |
933 | } | 933 | } |
934 | |||
935 | private LLUUID _parentUUID = LLUUID.Zero; | ||
934 | [XmlIgnore] | 936 | [XmlIgnore] |
935 | public LLUUID ParentUUID | 937 | public LLUUID ParentUUID |
936 | { | 938 | { |
937 | get { return ParentGroup.UUID; } | 939 | get |
938 | set {} // read only | 940 | { |
941 | if (ParentGroup != null) | ||
942 | { | ||
943 | _parentUUID = ParentGroup.UUID; | ||
944 | } | ||
945 | return _parentUUID; | ||
946 | } | ||
947 | set { _parentUUID = value; } | ||
939 | } | 948 | } |
940 | 949 | ||
941 | #endregion Public Properties with only Get | 950 | #endregion Public Properties with only Get |