aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-31 16:41:58 +0100
committerJustin Clark-Casey (justincc)2011-08-31 16:41:58 +0100
commit5a5206449f575fa4c6e161aea7202b7b8f628b4a (patch)
treed1aa2ff5e1bd8cc05a0bb3b93ef945bb54e49b0c /OpenSim/Region/Framework
parentMake SP.Attachments available as sp.GetAttachments() instead. (diff)
downloadopensim-SC_OLD-5a5206449f575fa4c6e161aea7202b7b8f628b4a.zip
opensim-SC_OLD-5a5206449f575fa4c6e161aea7202b7b8f628b4a.tar.gz
opensim-SC_OLD-5a5206449f575fa4c6e161aea7202b7b8f628b4a.tar.bz2
opensim-SC_OLD-5a5206449f575fa4c6e161aea7202b7b8f628b4a.tar.xz
minor: seal up another instance of using the appearance list without locking
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f5c72e1..e3b7c72 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3512,7 +3512,8 @@ namespace OpenSim.Region.Framework.Scenes
3512 3512
3513 public bool HasAttachments() 3513 public bool HasAttachments()
3514 { 3514 {
3515 return m_attachments.Count > 0; 3515 lock (m_attachments)
3516 return m_attachments.Count > 0;
3516 } 3517 }
3517 3518
3518 public bool HasScriptedAttachments() 3519 public bool HasScriptedAttachments()