aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-30 23:32:30 +0100
committerJustin Clark-Casey (justincc)2011-08-30 23:32:30 +0100
commitddc733cd3d940a4357eb0d235562050eb6f206bf (patch)
treef77e542f00edcdbb0f645665a869765a10532f1c /OpenSim/Region/Framework/Scenes/Scene.cs
parentalso get "nant clean" to remove old .mdb from .exe and .dll (diff)
downloadopensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.zip
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.gz
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.bz2
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.xz
refactor: move SP.SaveChangedAttachments() fully into AttachmentsModule
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index e7fe8df..e0e3884 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -3162,8 +3162,8 @@ namespace OpenSim.Region.Framework.Scenes
3162 3162
3163 m_eventManager.TriggerOnRemovePresence(agentID); 3163 m_eventManager.TriggerOnRemovePresence(agentID);
3164 3164
3165 if (avatar != null && (!avatar.IsChildAgent) && avatar.PresenceType != PresenceType.Npc) 3165 if (AttachmentsModule != null && avatar != null && (!avatar.IsChildAgent) && avatar.PresenceType != PresenceType.Npc)
3166 avatar.SaveChangedAttachments(); 3166 AttachmentsModule.SaveChangedAttachments(avatar);
3167 3167
3168 ForEachClient( 3168 ForEachClient(
3169 delegate(IClientAPI client) 3169 delegate(IClientAPI client)