From a9cc76e0efba7496909d613c75b81de6a9c5d979 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 30 Apr 2008 16:08:24 +0000 Subject: * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie! * This builds but might not work. JustinCC will examine.. it may work out of the box. --- OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs b/OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs index 4d2ec5b..9fa173d 100644 --- a/OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs +++ b/OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs @@ -150,6 +150,7 @@ namespace OpenSim.Region.Environment.Modules private string m_description = String.Empty; private sbyte type = 0; private sbyte invType = 0; + private byte wearableType = 0; private uint nextPerm = 0; private bool m_finished = false; private bool m_createItem = false; @@ -314,6 +315,7 @@ namespace OpenSim.Region.Environment.Modules m_description = description; this.type = type; this.invType = invType; + this.wearableType = wearableType; nextPerm = nextOwnerMask; Asset.Name = name; Asset.Description = description; @@ -386,6 +388,7 @@ namespace OpenSim.Region.Environment.Modules item.BasePermissions = 2147483647; item.CurrentPermissions = 2147483647; item.NextPermissions = nextPerm; + item.Flags = (uint)wearableType; userInfo.AddItem(ourClient.AgentId, item); ourClient.SendInventoryItemCreateUpdate(item); -- cgit v1.1