diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 81cf372..a287201 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -511,7 +511,7 @@ namespace OpenSim.Framework | |||
511 | 511 | ||
512 | public void SetAttachment(int attachpoint, LLUUID item, LLUUID asset) | 512 | public void SetAttachment(int attachpoint, LLUUID item, LLUUID asset) |
513 | { | 513 | { |
514 | if(attachpoint == 0) | 514 | if (attachpoint == 0) |
515 | return; | 515 | return; |
516 | 516 | ||
517 | if (item == LLUUID.Zero) | 517 | if (item == LLUUID.Zero) |
@@ -532,7 +532,7 @@ namespace OpenSim.Framework | |||
532 | { | 532 | { |
533 | foreach (KeyValuePair<int, LLUUID[]> kvp in m_attachments) | 533 | foreach (KeyValuePair<int, LLUUID[]> kvp in m_attachments) |
534 | { | 534 | { |
535 | if(kvp.Value[0] == itemID) | 535 | if (kvp.Value[0] == itemID) |
536 | { | 536 | { |
537 | return kvp.Key; | 537 | return kvp.Key; |
538 | } | 538 | } |
@@ -544,7 +544,7 @@ namespace OpenSim.Framework | |||
544 | { | 544 | { |
545 | int attachpoint = GetAttachpoint(itemID); | 545 | int attachpoint = GetAttachpoint(itemID); |
546 | 546 | ||
547 | if(attachpoint > 0) | 547 | if (attachpoint > 0) |
548 | m_attachments.Remove(attachpoint); | 548 | m_attachments.Remove(attachpoint); |
549 | } | 549 | } |
550 | 550 | ||