aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 3118613..1004be6 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -1923,7 +1923,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1923 1923
1924 folderBlock.FolderID = folder.ID; 1924 folderBlock.FolderID = folder.ID;
1925 folderBlock.ParentID = folder.ParentID; 1925 folderBlock.ParentID = folder.ParentID;
1926 folderBlock.Type = -1; 1926 //folderBlock.Type = -1;
1927 folderBlock.Type = (sbyte)folder.Type;
1927 folderBlock.Name = Util.StringToBytes256(folder.Name); 1928 folderBlock.Name = Util.StringToBytes256(folder.Name);
1928 1929
1929 return folderBlock; 1930 return folderBlock;
@@ -4360,7 +4361,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4360 block.OwnerID = sop.OwnerID; 4361 block.OwnerID = sop.OwnerID;
4361 4362
4362 block.ItemID = sop.FromUserInventoryItemID; 4363 block.ItemID = sop.FromUserInventoryItemID;
4363 block.FolderID = UUID.Zero; // sop.FromFolderID ?? 4364 block.FolderID = UUID.Zero; // sog.FromFolderID ??
4364 block.FromTaskID = UUID.Zero; // ??? 4365 block.FromTaskID = UUID.Zero; // ???
4365 block.InventorySerial = (short)sop.InventorySerial; 4366 block.InventorySerial = (short)sop.InventorySerial;
4366 4367
@@ -5082,7 +5083,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5082 update.MediaURL = Utils.EmptyBytes; // FIXME: Support this in OpenSim 5083 update.MediaURL = Utils.EmptyBytes; // FIXME: Support this in OpenSim
5083 if (data.ParentGroup.IsAttachment) 5084 if (data.ParentGroup.IsAttachment)
5084 { 5085 {
5085 update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.FromItemID); 5086 update.NameValue = Util.StringToBytes256("AttachItemID STRING RW SV " + data.ParentGroup.FromItemID);
5086 update.State = (byte)((data.ParentGroup.AttachmentPoint % 16) * 16 + (data.ParentGroup.AttachmentPoint / 16)); 5087 update.State = (byte)((data.ParentGroup.AttachmentPoint % 16) * 16 + (data.ParentGroup.AttachmentPoint / 16));
5087 } 5088 }
5088 else 5089 else