diff options
author | SignpostMarv | 2012-09-01 02:20:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-04 00:03:43 +0100 |
commit | 8d431c63594b7576fe295d50658531e81df2ac4e (patch) | |
tree | bec101f9b8e58745e0d1d40bb3ee99c1c23a2c53 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | although the attachmentPoint argument is a uint, zero is not a valid attachme... (diff) | |
download | opensim-SC-8d431c63594b7576fe295d50658531e81df2ac4e.zip opensim-SC-8d431c63594b7576fe295d50658531e81df2ac4e.tar.gz opensim-SC-8d431c63594b7576fe295d50658531e81df2ac4e.tar.bz2 opensim-SC-8d431c63594b7576fe295d50658531e81df2ac4e.tar.xz |
formatting
Diffstat (limited to '')
-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 | } |