diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 22d3289..1222ac6 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3421,15 +3421,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
3421 | 3421 | ||
3422 | if (attachmentPoint >= 0) | 3422 | if (attachmentPoint >= 0) |
3423 | { | 3423 | { |
3424 | lock (m_attachments) | 3424 | lock (m_attachments) |
3425 | { | ||
3426 | foreach (SceneObjectGroup so in m_attachments) | ||
3427 | { | 3425 | { |
3428 | if (attachmentPoint == so.AttachmentPoint) | 3426 | foreach (SceneObjectGroup so in m_attachments) |
3429 | attachments.Add(so); | 3427 | { |
3428 | if (attachmentPoint == so.AttachmentPoint) | ||
3429 | attachments.Add(so); | ||
3430 | } | ||
3430 | } | 3431 | } |
3431 | } | 3432 | } |
3432 | } | ||
3433 | 3433 | ||
3434 | return attachments; | 3434 | return attachments; |
3435 | } | 3435 | } |