diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/AgentAssetsTransactions.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
150 | private string m_description = String.Empty; | 150 | private string m_description = String.Empty; |
151 | private sbyte type = 0; | 151 | private sbyte type = 0; |
152 | private sbyte invType = 0; | 152 | private sbyte invType = 0; |
153 | private byte wearableType = 0; | ||
153 | private uint nextPerm = 0; | 154 | private uint nextPerm = 0; |
154 | private bool m_finished = false; | 155 | private bool m_finished = false; |
155 | private bool m_createItem = false; | 156 | private bool m_createItem = false; |
@@ -314,6 +315,7 @@ namespace OpenSim.Region.Environment.Modules | |||
314 | m_description = description; | 315 | m_description = description; |
315 | this.type = type; | 316 | this.type = type; |
316 | this.invType = invType; | 317 | this.invType = invType; |
318 | this.wearableType = wearableType; | ||
317 | nextPerm = nextOwnerMask; | 319 | nextPerm = nextOwnerMask; |
318 | Asset.Name = name; | 320 | Asset.Name = name; |
319 | Asset.Description = description; | 321 | Asset.Description = description; |
@@ -386,6 +388,7 @@ namespace OpenSim.Region.Environment.Modules | |||
386 | item.BasePermissions = 2147483647; | 388 | item.BasePermissions = 2147483647; |
387 | item.CurrentPermissions = 2147483647; | 389 | item.CurrentPermissions = 2147483647; |
388 | item.NextPermissions = nextPerm; | 390 | item.NextPermissions = nextPerm; |
391 | item.Flags = (uint)wearableType; | ||
389 | 392 | ||
390 | userInfo.AddItem(ourClient.AgentId, item); | 393 | userInfo.AddItem(ourClient.AgentId, item); |
391 | ourClient.SendInventoryItemCreateUpdate(item); | 394 | ourClient.SendInventoryItemCreateUpdate(item); |