diff options
author | Justin Clark-Casey (justincc) | 2012-04-07 00:33:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-07 00:33:02 +0100 |
commit | 7d8bb33c5b2420d4e744269f67a25dd2b9746a35 (patch) | |
tree | 53e2c0d0258e81c4e87ae78521e85d98d115becc /OpenSim/Region/ClientStack | |
parent | refactor: Eliminate unnecessary SOP.m_physActor (diff) | |
download | opensim-SC_OLD-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.zip opensim-SC_OLD-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.gz opensim-SC_OLD-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.bz2 opensim-SC_OLD-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.xz |
Store FromItemID for attachments once on SOG instead of on every SOP and only ever using the root part entry.
This eliminates some pointless memory use.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 |
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 9395233..619ef14 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4957,7 +4957,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4957 | update.MediaURL = Utils.EmptyBytes; // FIXME: Support this in OpenSim | 4957 | update.MediaURL = Utils.EmptyBytes; // FIXME: Support this in OpenSim |
4958 | if (data.ParentGroup.IsAttachment) | 4958 | if (data.ParentGroup.IsAttachment) |
4959 | { | 4959 | { |
4960 | update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.FromItemID); | 4960 | update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID); |
4961 | update.State = (byte)((data.ParentGroup.AttachmentPoint % 16) * 16 + (data.ParentGroup.AttachmentPoint / 16)); | 4961 | update.State = (byte)((data.ParentGroup.AttachmentPoint % 16) * 16 + (data.ParentGroup.AttachmentPoint / 16)); |
4962 | } | 4962 | } |
4963 | else | 4963 | else |