minor: seal up another instance of using the appearance list without locking

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-08-31 16:41:58 +01:00
parent 32444d98cb
commit 5a5206449f
2 changed files with 3 additions and 2 deletions

View File

@ -3512,6 +3512,7 @@ namespace OpenSim.Region.Framework.Scenes
public bool HasAttachments()
{
lock (m_attachments)
return m_attachments.Count > 0;
}