Packing of folder in SendBulkUpdateInventory always set the folder type to -1. Not sure if there's a reason for it, but I'm changing it to the given folder type.
parent
e324fb2415
commit
8fd86c9156
|
@ -1913,7 +1913,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
folderBlock.FolderID = folder.ID;
|
folderBlock.FolderID = folder.ID;
|
||||||
folderBlock.ParentID = folder.ParentID;
|
folderBlock.ParentID = folder.ParentID;
|
||||||
folderBlock.Type = -1;
|
//folderBlock.Type = -1;
|
||||||
|
folderBlock.Type = (sbyte)folder.Type;
|
||||||
folderBlock.Name = Util.StringToBytes256(folder.Name);
|
folderBlock.Name = Util.StringToBytes256(folder.Name);
|
||||||
|
|
||||||
return folderBlock;
|
return folderBlock;
|
||||||
|
|
Loading…
Reference in New Issue