diff options
author | Justin Clark-Casey (justincc) | 2010-11-17 01:28:46 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-11-17 01:28:46 +0000 |
commit | b38a1594c1028ed39def8079043ae19ebc28b813 (patch) | |
tree | 962ee7f2584dead0ffa37cf1c8b3535a3626a26b /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
parent | Prevent leftover attachments from clogging up the pipes (diff) | |
download | opensim-SC_OLD-b38a1594c1028ed39def8079043ae19ebc28b813.zip opensim-SC_OLD-b38a1594c1028ed39def8079043ae19ebc28b813.tar.gz opensim-SC_OLD-b38a1594c1028ed39def8079043ae19ebc28b813.tar.bz2 opensim-SC_OLD-b38a1594c1028ed39def8079043ae19ebc28b813.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index a4cc66d..96a9f99 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3152,7 +3152,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3152 | List<ulong> regions = new List<ulong>(avatar.KnownChildRegionHandles); | 3152 | List<ulong> regions = new List<ulong>(avatar.KnownChildRegionHandles); |
3153 | regions.Remove(RegionInfo.RegionHandle); | 3153 | regions.Remove(RegionInfo.RegionHandle); |
3154 | m_sceneGridService.SendCloseChildAgentConnections(agentID, regions); | 3154 | m_sceneGridService.SendCloseChildAgentConnections(agentID, regions); |
3155 | |||
3156 | } | 3155 | } |
3157 | m_eventManager.TriggerClientClosed(agentID, this); | 3156 | m_eventManager.TriggerClientClosed(agentID, this); |
3158 | } | 3157 | } |
@@ -3164,6 +3163,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3164 | 3163 | ||
3165 | m_eventManager.TriggerOnRemovePresence(agentID); | 3164 | m_eventManager.TriggerOnRemovePresence(agentID); |
3166 | 3165 | ||
3166 | if (avatar != null && (!avatar.IsChildAgent)) | ||
3167 | avatar.SaveChangedAttachments(); | ||
3168 | |||
3167 | ForEachClient( | 3169 | ForEachClient( |
3168 | delegate(IClientAPI client) | 3170 | delegate(IClientAPI client) |
3169 | { | 3171 | { |