* Patch from Melanie. Mantis 1294: Fix broken wearables icon display in prim inventories. From Melanie! Thanks Melanie.
parent
a510033df5
commit
abc06daefd
|
@ -205,6 +205,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
// FIXME: ignoring group permissions for now as they aren't stored in item
|
// FIXME: ignoring group permissions for now as they aren't stored in item
|
||||||
taskItem.EveryoneMask = item.EveryOnePermissions;
|
taskItem.EveryoneMask = item.EveryOnePermissions;
|
||||||
taskItem.NextOwnerMask = item.NextPermissions;
|
taskItem.NextOwnerMask = item.NextPermissions;
|
||||||
|
taskItem.Flags = item.Flags;
|
||||||
|
// TODO: These are pending addition of those fields to TaskInventoryItem
|
||||||
|
// taskItem.SalePrice = item.SalePrice;
|
||||||
|
// taskItem.SaleType = item.SaleType;
|
||||||
|
taskItem.CreationDate = (uint)item.CreationDate;
|
||||||
|
|
||||||
part.AddInventoryItem(taskItem);
|
part.AddInventoryItem(taskItem);
|
||||||
|
|
||||||
|
|
|
@ -509,7 +509,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
invString.AddNameValueLine("asset_id", item.AssetID.ToString());
|
invString.AddNameValueLine("asset_id", item.AssetID.ToString());
|
||||||
invString.AddNameValueLine("type", TaskInventoryItem.Types[item.Type]);
|
invString.AddNameValueLine("type", TaskInventoryItem.Types[item.Type]);
|
||||||
invString.AddNameValueLine("inv_type", TaskInventoryItem.InvTypes[item.InvType]);
|
invString.AddNameValueLine("inv_type", TaskInventoryItem.InvTypes[item.InvType]);
|
||||||
invString.AddNameValueLine("flags", "00000000");
|
invString.AddNameValueLine("flags", Helpers.UIntToHexString(item.Flags));
|
||||||
|
|
||||||
invString.AddSaleStart();
|
invString.AddSaleStart();
|
||||||
invString.AddNameValueLine("sale_type", "not");
|
invString.AddNameValueLine("sale_type", "not");
|
||||||
|
|
Loading…
Reference in New Issue