aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-04-07 00:40:55 +0100
committerJustin Clark-Casey (justincc)2012-04-07 00:40:55 +0100
commitcce760dbfcd375a700e38b8279b0c19c5624e720 (patch)
tree901fb627f1237d36d5bcd25f0c23780ac6306b42 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentStore FromItemID for attachments once on SOG instead of on every SOP and only... (diff)
downloadopensim-SC_OLD-cce760dbfcd375a700e38b8279b0c19c5624e720.zip
opensim-SC_OLD-cce760dbfcd375a700e38b8279b0c19c5624e720.tar.gz
opensim-SC_OLD-cce760dbfcd375a700e38b8279b0c19c5624e720.tar.bz2
opensim-SC_OLD-cce760dbfcd375a700e38b8279b0c19c5624e720.tar.xz
Rather than having a FromFolderID property on every single prim and only ever using the root prim one, store on SOG instead.
This reduces pointless memory usage.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs19
1 files changed, 15 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 3586e95..17f3be7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -586,10 +586,21 @@ namespace OpenSim.Region.Framework.Scenes
586 } 586 }
587 } 587 }
588 588
589 /// <summary> 589 /// <summary>
590 /// The item ID that this object was rezzed from, if applicable. 590 /// The item ID that this object was rezzed from, if applicable.
591 /// </summary> 591 /// </summary>
592 public UUID FromItemID { get; set; } 592 /// <remarks>
593 /// If not applicable will be UUID.Zero
594 /// </remarks>
595 public UUID FromItemID { get; set; }
596
597 /// <summary>
598 /// The folder ID that this object was rezzed from, if applicable.
599 /// </summary>
600 /// <remarks>
601 /// If not applicable will be UUID.Zero
602 /// </remarks>
603 public UUID FromFolderID { get; set; }
593 604
594 #endregion 605 #endregion
595 606