diff options
author | Jeff Ames | 2008-08-19 13:07:24 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-19 13:07:24 +0000 |
commit | 5c360e7374d6d3529f7578195a86a13e3858389f (patch) | |
tree | 87ada94cf6dfeea5d79181fcc8a6241e886fd794 /OpenSim/Framework/AvatarAppearance.cs | |
parent | Correctly convert port to int. (diff) | |
download | opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.zip opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.tar.gz opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.tar.bz2 opensim-SC-5c360e7374d6d3529f7578195a86a13e3858389f.tar.xz |
Update svn properties, minor formatting cleanup.
Remove old comment in SnapshotStore pointed out by ChrisDown (bug #2000)
Diffstat (limited to 'OpenSim/Framework/AvatarAppearance.cs')
-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 | ||