diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs index 0188eb7..3cda984 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAppearanceServices.cs | |||
@@ -488,11 +488,11 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
488 | rdata.userAppearance.AvatarHeight = (float) Convert.ToDouble(xml.Value); | 488 | rdata.userAppearance.AvatarHeight = (float) Convert.ToDouble(xml.Value); |
489 | indata = true; | 489 | indata = true; |
490 | } | 490 | } |
491 | if (xml.MoveToAttribute("Owner")) | 491 | // if (xml.MoveToAttribute("Owner")) |
492 | { | 492 | // { |
493 | rdata.userAppearance.Owner = (UUID)xml.Value; | 493 | // rdata.userAppearance.Owner = (UUID)xml.Value; |
494 | indata = true; | 494 | // indata = true; |
495 | } | 495 | // } |
496 | if (xml.MoveToAttribute("Serial")) | 496 | if (xml.MoveToAttribute("Serial")) |
497 | { | 497 | { |
498 | rdata.userAppearance.Serial = Convert.ToInt32(xml.Value); | 498 | rdata.userAppearance.Serial = Convert.ToInt32(xml.Value); |
@@ -747,8 +747,8 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
747 | rdata.writer.WriteStartElement("Appearance"); | 747 | rdata.writer.WriteStartElement("Appearance"); |
748 | 748 | ||
749 | rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString()); | 749 | rdata.writer.WriteAttributeString("Height", rdata.userAppearance.AvatarHeight.ToString()); |
750 | if (rdata.userAppearance.Owner != UUID.Zero) | 750 | // if (rdata.userAppearance.Owner != UUID.Zero) |
751 | rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString()); | 751 | // rdata.writer.WriteAttributeString("Owner", rdata.userAppearance.Owner.ToString()); |
752 | rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString()); | 752 | rdata.writer.WriteAttributeString("Serial", rdata.userAppearance.Serial.ToString()); |
753 | 753 | ||
754 | /* | 754 | /* |