little debug

avinationmerge
UbitUmarov 2014-09-26 02:29:05 +01:00
parent 8c68772624
commit db41c04f9d
1 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,8 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
sbyte assetType, sbyte assetType,
byte wearableType, uint nextOwnerMask, int creationDate) byte wearableType, uint nextOwnerMask, int creationDate)
{ {
m_log.DebugFormat("[INVENTORY ACCESS MODULE]: Received request to create inventory item {0} in folder {1}", name, folderID); m_log.DebugFormat("[INVENTORY ACCESS MODULE]: Received request to create inventory item {0} in folder {1}, transactionID {2}", name,
folderID, transactionID);
if (!m_Scene.Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) if (!m_Scene.Permissions.CanCreateUserInventory(invType, remoteClient.AgentId))
return; return;
@ -220,6 +221,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
m_Scene.CreateNewInventoryItem( m_Scene.CreateNewInventoryItem(
remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID, remoteClient, remoteClient.AgentId.ToString(), string.Empty, folderID,
name, description, 0, callbackID, asset, invType, nextOwnerMask, creationDate,transactionID); name, description, 0, callbackID, asset, invType, nextOwnerMask, creationDate,transactionID);
m_log.DebugFormat("Asset stored and inventory item created");
} }
else else
{ {