Record the fact that child agents can have asset transactions.

Also change code to grab the agent asset transaction module once.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-06-07 23:51:04 +01:00
parent de87e4871b
commit 0c5fefacb4
4 changed files with 26 additions and 32 deletions

View File

@@ -216,7 +216,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
}
else
{
IAgentAssetTransactions agentTransactions = m_Scene.RequestModuleInterface<IAgentAssetTransactions>();
IAgentAssetTransactions agentTransactions = m_Scene.AgentTransactionsModule;
if (agentTransactions != null)
{
agentTransactions.HandleItemCreationFromTransaction(