diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f291022..939c8fa 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -499,6 +499,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
499 | 499 | ||
500 | public IAttachmentsModule AttachmentsModule { get; set; } | 500 | public IAttachmentsModule AttachmentsModule { get; set; } |
501 | public IEntityTransferModule EntityTransferModule { get; private set; } | 501 | public IEntityTransferModule EntityTransferModule { get; private set; } |
502 | public IAgentAssetTransactions AgentTransactionsModule { get; private set; } | ||
502 | 503 | ||
503 | public IAvatarFactoryModule AvatarFactory | 504 | public IAvatarFactoryModule AvatarFactory |
504 | { | 505 | { |
@@ -1241,6 +1242,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1241 | m_capsModule = RequestModuleInterface<ICapabilitiesModule>(); | 1242 | m_capsModule = RequestModuleInterface<ICapabilitiesModule>(); |
1242 | EntityTransferModule = RequestModuleInterface<IEntityTransferModule>(); | 1243 | EntityTransferModule = RequestModuleInterface<IEntityTransferModule>(); |
1243 | m_groupsModule = RequestModuleInterface<IGroupsModule>(); | 1244 | m_groupsModule = RequestModuleInterface<IGroupsModule>(); |
1245 | AgentTransactionsModule = RequestModuleInterface<IAgentAssetTransactions>(); | ||
1244 | } | 1246 | } |
1245 | 1247 | ||
1246 | #endregion | 1248 | #endregion |
@@ -3297,12 +3299,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3297 | catch (NullReferenceException) { } | 3299 | catch (NullReferenceException) { } |
3298 | }); | 3300 | }); |
3299 | } | 3301 | } |
3300 | 3302 | ||
3301 | IAgentAssetTransactions agentTransactions = this.RequestModuleInterface<IAgentAssetTransactions>(); | 3303 | // It's possible for child agents to have transactions if changes are being made cross-border. |
3302 | if (agentTransactions != null) | 3304 | if (AgentTransactionsModule != null) |
3303 | { | 3305 | AgentTransactionsModule.RemoveAgentAssetTransactions(agentID); |
3304 | agentTransactions.RemoveAgentAssetTransactions(agentID); | ||
3305 | } | ||
3306 | } | 3306 | } |
3307 | finally | 3307 | finally |
3308 | { | 3308 | { |