Merge branch 'avination' into careminster

Conflicts:
	OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
This commit is contained in:
Melanie
2012-09-16 04:21:18 +01:00
19 changed files with 578 additions and 561 deletions

View File

@@ -101,12 +101,12 @@ namespace OpenSim.Region.Framework.Scenes
engine.StartProcessing();
}
public void AddUploadedInventoryItem(UUID agentID, InventoryItemBase item)
public void AddUploadedInventoryItem(UUID agentID, InventoryItemBase item, uint cost)
{
IMoneyModule money = RequestModuleInterface<IMoneyModule>();
if (money != null)
{
money.ApplyUploadCharge(agentID, money.UploadCharge, "Asset upload");
money.ApplyUploadCharge(agentID, (int)cost, "Asset upload");
}
AddInventoryItem(item);