diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 7f06e82..182c3fd 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -1366,7 +1366,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1366 | { | 1366 | { |
1367 | try | 1367 | try |
1368 | { | 1368 | { |
1369 | m_log.ErrorFormat("[EVENT MANAGER]: OnRemovePresenceDelegate: {0}",d.Target.ToString()); | ||
1369 | d(agentId); | 1370 | d(agentId); |
1371 | m_log.ErrorFormat("[EVENT MANAGER]: OnRemovePresenceDelegate done "); | ||
1370 | } | 1372 | } |
1371 | catch (Exception e) | 1373 | catch (Exception e) |
1372 | { | 1374 | { |
@@ -2037,7 +2039,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2037 | { | 2039 | { |
2038 | try | 2040 | try |
2039 | { | 2041 | { |
2042 | m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed: {0}", d.Target.ToString()); | ||
2040 | d(ClientID, scene); | 2043 | d(ClientID, scene); |
2044 | m_log.ErrorFormat("[EVENT MANAGER]: TriggerClientClosed done "); | ||
2045 | |||
2041 | } | 2046 | } |
2042 | catch (Exception e) | 2047 | catch (Exception e) |
2043 | { | 2048 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0765b3f..c53f7af 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3640,13 +3640,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
3640 | } | 3640 | } |
3641 | 3641 | ||
3642 | m_eventManager.TriggerClientClosed(agentID, this); | 3642 | m_eventManager.TriggerClientClosed(agentID, this); |
3643 | m_log.Debug("[Scene]TriggerClientClosed done"); | ||
3643 | m_eventManager.TriggerOnRemovePresence(agentID); | 3644 | m_eventManager.TriggerOnRemovePresence(agentID); |
3645 | m_log.Debug("[Scene]TriggerOnRemovePresence done"); | ||
3644 | 3646 | ||
3645 | if (!isChildAgent) | 3647 | if (!isChildAgent) |
3646 | { | 3648 | { |
3647 | if (AttachmentsModule != null) | 3649 | if (AttachmentsModule != null) |
3648 | { | 3650 | { |
3651 | m_log.Debug("[Scene]DeRezAttachments"); | ||
3649 | AttachmentsModule.DeRezAttachments(avatar); | 3652 | AttachmentsModule.DeRezAttachments(avatar); |
3653 | m_log.Debug("[Scene]DeRezAttachments done"); | ||
3650 | } | 3654 | } |
3651 | 3655 | ||
3652 | ForEachClient( | 3656 | ForEachClient( |
@@ -3660,7 +3664,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3660 | 3664 | ||
3661 | // It's possible for child agents to have transactions if changes are being made cross-border. | 3665 | // It's possible for child agents to have transactions if changes are being made cross-border. |
3662 | if (AgentTransactionsModule != null) | 3666 | if (AgentTransactionsModule != null) |
3667 | { | ||
3668 | m_log.Debug("[Scene]RemoveAgentAssetTransactions"); | ||
3663 | AgentTransactionsModule.RemoveAgentAssetTransactions(agentID); | 3669 | AgentTransactionsModule.RemoveAgentAssetTransactions(agentID); |
3670 | } | ||
3664 | m_log.Debug("[Scene] The avatar has left the building"); | 3671 | m_log.Debug("[Scene] The avatar has left the building"); |
3665 | } | 3672 | } |
3666 | catch (Exception e) | 3673 | catch (Exception e) |