diff options
author | Jeff Ames | 2008-08-19 02:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-19 02:59:27 +0000 |
commit | bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca (patch) | |
tree | 6350036021802eadb2540d14461eb545afd7dea6 /OpenSim/Framework/AvatarAppearance.cs | |
parent | Attachment persistence!!! Patch #9169 (Mantis #1171) (diff) | |
download | opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.zip opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.gz opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.bz2 opensim-SC_OLD-bea7d4d81ad7a75706305be6c8ca06f8dc6e6eca.tar.xz |
Update svn properties, formatting cleanup.
Diffstat (limited to 'OpenSim/Framework/AvatarAppearance.cs')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 67e26b1..3459504 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -363,7 +363,7 @@ namespace OpenSim.Framework | |||
363 | h["skirt_asset"] = SkirtAsset.ToString(); | 363 | h["skirt_asset"] = SkirtAsset.ToString(); |
364 | 364 | ||
365 | string attachments = GetAttachmentsString(); | 365 | string attachments = GetAttachmentsString(); |
366 | if(attachments != String.Empty) | 366 | if (attachments != String.Empty) |
367 | h["attachments"] = attachments; | 367 | h["attachments"] = attachments; |
368 | 368 | ||
369 | return h; | 369 | return h; |
@@ -411,7 +411,7 @@ namespace OpenSim.Framework | |||
411 | SkirtItem = new LLUUID((string)h["skirt_item"]); | 411 | SkirtItem = new LLUUID((string)h["skirt_item"]); |
412 | SkirtAsset = new LLUUID((string)h["skirt_asset"]); | 412 | SkirtAsset = new LLUUID((string)h["skirt_asset"]); |
413 | 413 | ||
414 | if(h.ContainsKey("attachments")) | 414 | if (h.ContainsKey("attachments")) |
415 | { | 415 | { |
416 | SetAttachmentsString(h["attachments"].ToString()); | 416 | SetAttachmentsString(h["attachments"].ToString()); |
417 | } | 417 | } |
@@ -441,7 +441,7 @@ namespace OpenSim.Framework | |||
441 | { | 441 | { |
442 | m_attachments.Clear(); | 442 | m_attachments.Clear(); |
443 | 443 | ||
444 | if(data == null) | 444 | if (data == null) |
445 | return; | 445 | return; |
446 | 446 | ||
447 | foreach (DictionaryEntry e in data) | 447 | foreach (DictionaryEntry e in data) |
@@ -468,7 +468,7 @@ namespace OpenSim.Framework | |||
468 | 468 | ||
469 | public Hashtable GetAttachments() | 469 | public Hashtable GetAttachments() |
470 | { | 470 | { |
471 | if(m_attachments.Count == 0) | 471 | if (m_attachments.Count == 0) |
472 | return null; | 472 | return null; |
473 | 473 | ||
474 | Hashtable ret = new Hashtable(); | 474 | Hashtable ret = new Hashtable(); |