minor: seal up another instance of using the appearance list without locking
parent
32444d98cb
commit
5a5206449f
|
@ -366,7 +366,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -3512,7 +3512,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public bool HasAttachments()
|
||||
{
|
||||
return m_attachments.Count > 0;
|
||||
lock (m_attachments)
|
||||
return m_attachments.Count > 0;
|
||||
}
|
||||
|
||||
public bool HasScriptedAttachments()
|
||||
|
|
Loading…
Reference in New Issue