aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorSean Dague2008-07-16 21:27:57 +0000
committerSean Dague2008-07-16 21:27:57 +0000
commit44d0b7c724d66bcbf77b51facf8bd3f8f3c2edfa (patch)
tree3aadda265e196887c543a3a5316a3f80a09e84b1 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentfix RegionStore creation so that the .sql file works (diff)
downloadopensim-SC_OLD-44d0b7c724d66bcbf77b51facf8bd3f8f3c2edfa.zip
opensim-SC_OLD-44d0b7c724d66bcbf77b51facf8bd3f8f3c2edfa.tar.gz
opensim-SC_OLD-44d0b7c724d66bcbf77b51facf8bd3f8f3c2edfa.tar.bz2
opensim-SC_OLD-44d0b7c724d66bcbf77b51facf8bd3f8f3c2edfa.tar.xz
make ParentUUID be a cached value, but allow setting it for
short term storage (needed to rebuild SOGs)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs13
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