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.

0.7.4.1
Diva Canto 2012-04-06 11:24:34 -07:00
parent e324fb2415
commit 8fd86c9156
1 changed files with 2 additions and 1 deletions

View File

@ -1913,7 +1913,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
folderBlock.FolderID = folder.ID;
folderBlock.ParentID = folder.ParentID;
folderBlock.Type = -1;
//folderBlock.Type = -1;
folderBlock.Type = (sbyte)folder.Type;
folderBlock.Name = Util.StringToBytes256(folder.Name);
return folderBlock;