aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
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/ClientStack/Linden
parentStore FromItemID for attachments once on SOG instead of on every SOP and only... (diff)
downloadopensim-SC-cce760dbfcd375a700e38b8279b0c19c5624e720.zip
opensim-SC-cce760dbfcd375a700e38b8279b0c19c5624e720.tar.gz
opensim-SC-cce760dbfcd375a700e38b8279b0c19c5624e720.tar.bz2
opensim-SC-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/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 619ef14..ae5cbff 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -4271,7 +4271,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4271 block.OwnerID = sop.OwnerID; 4271 block.OwnerID = sop.OwnerID;
4272 4272
4273 block.ItemID = sop.FromUserInventoryItemID; 4273 block.ItemID = sop.FromUserInventoryItemID;
4274 block.FolderID = UUID.Zero; // sop.FromFolderID ?? 4274 block.FolderID = UUID.Zero; // sog.FromFolderID ??
4275 block.FromTaskID = UUID.Zero; // ??? 4275 block.FromTaskID = UUID.Zero; // ???
4276 block.InventorySerial = (short)sop.InventorySerial; 4276 block.InventorySerial = (short)sop.InventorySerial;
4277 4277